We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When building PowerDNS with LibreSSL as provider for libcrypto/libssl
This is due to LibreSSL defining OPENSSL_VERSION_NUMBER as 0x20000000L.
OPENSSL_VERSION_NUMBER
0x20000000L
This is now fixed for @HardenedBSD with HardenedBSD/hardenedbsd-ports@e477f2b
opensslsigners.cc:229:3: error: use of undeclared identifier 'RSA_get0_key' RSA_get0_key(d_key, &n, &e, &d); ^ opensslsigners.cc:230:3: error: use of undeclared identifier 'RSA_get0_factors' RSA_get0_factors(d_key, &p, &q); ^ opensslsigners.cc:231:3: error: use of undeclared identifier 'RSA_get0_crt_params' RSA_get0_crt_params(d_key, &dmp1, &dmq1, &iqmp); ^ opensslsigners.cc:698:3: error: use of undeclared identifier 'ECDSA_SIG_get0' ECDSA_SIG_get0(signature, &pr, &ps); ^ opensslsigners.cc:743:3: error: use of undeclared identifier 'ECDSA_SIG_set0' ECDSA_SIG_set0(sig, r, s); ^ 11 errors generated.
Patching is simple enough
--- pdns/opensslsigners.cc.orig 2016-07-29 14:32:32 UTC +++ pdns/opensslsigners.cc @@ -12,7 +12,7 @@ #include "opensslsigners.hh" #include "dnssecinfra.hh" -#if OPENSSL_VERSION_NUMBER < 0x1010000fL +#if OPENSSL_VERSION_NUMBER < 0x1010000fL || defined(LIBRESSL_VERSION_NUMBER) /* OpenSSL < 1.1.0 needs support for threading/locking in the calling application. */ static pthread_mutex_t *openssllocks;
The text was updated successfully, but these errors were encountered:
Should've checked first... 115f658 fixes the issue.
The changes to dns_random.cc don't seem to be neccessary.
Sorry, something went wrong.
No branches or pull requests
When building PowerDNS with LibreSSL as provider for libcrypto/libssl
This is due to LibreSSL defining
OPENSSL_VERSION_NUMBERas0x20000000L.This is now fixed for @HardenedBSD with HardenedBSD/hardenedbsd-ports@e477f2b
Patching is simple enough
The text was updated successfully, but these errors were encountered: