[Pkg-dns-devel] Bug#828490: fixed in pdns 4.0.1-1
Kurt Roeckx
kurt at roeckx.be
Thu Sep 1 16:18:42 UTC 2016
On Thu, Sep 01, 2016 at 03:35:30PM +0200, Christian Hofstaedtler wrote:
> * Kurt Roeckx <kurt at roeckx.be> [160828 13:39]:
> > On Sat, Jul 30, 2016 at 10:27:18PM +0000, Debian Bug Tracking System wrote:
> > > pdns (4.0.1-1) unstable; urgency=medium
> > > .
> > > * New upstream release, drop upstream applied patch. (Closes: #828490,
> > > #830808)
> >
> > It's still failing to build, but now with:
> > dns_random.cc: In function 'unsigned int dns_random(unsigned int)':
> > dns_random.cc:59:128: error: 'AES_ctr128_encrypt' was not declared in this scope
> > AES_ctr128_encrypt((const unsigned char*)&g_in, (unsigned char*) &out, sizeof(g_in), &aes_key, g_counter, g_stream, &g_offset);
> > ^
> >
> > I'm not sure why that function has been removed, but you really
> > should use the EVP API.
>
> That's fine in principile, the new code does not even use
> AES_ctr128_encrypt, guarded by a version check:
>
> #if OPENSSL_VERSION_NUMBER > 0x1000100fL
> ...
>
> > https://breakpoint.cc/openssl-1.1-rebuild-2016-08-26/failed/pdns_4.0.1-1_amd64-2016-08-26T19%3A27%3A30Z
>
> What is the OPENSSL_VERSION_NUMBER for that build?
opensslv.h:# define OPENSSL_VERSION_NUMBER 0x1010000fL
So I guess you want >= instead of >
Kurt
More information about the pkg-dns-devel
mailing list