mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Put proper guards in openssl_shim.{c,h} when compiling with PKCS#11
This commit is contained in:
@@ -11,9 +11,11 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#if HAVE_OPENSSL
|
||||
|
||||
#include <openssl/opensslv.h>
|
||||
|
||||
#if HAVE_OPENSSL && (OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER))
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -92,4 +94,6 @@ int HMAC_CTX_reset(HMAC_CTX *ctx) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) */
|
||||
|
||||
#endif /* HAVE_OPENSSL */
|
||||
|
Reference in New Issue
Block a user