]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
fix compilation without deprecated OpenSSL APIs 8985/head
authorRosen Penev <rosenp@gmail.com>
Mon, 30 Mar 2020 20:40:44 +0000 (13:40 -0700)
committerRosen Penev <rosenp@gmail.com>
Mon, 30 Mar 2020 20:40:44 +0000 (13:40 -0700)
This header is normally included with ssl.h.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
pdns/opensslsigners.cc
pdns/pkcs11signers.cc

index 6322db0ebd65fbdf6a3315d39efe170122f5d16d..d879d67e4db1b8c712cecfe0633b70b8e615414f 100644 (file)
@@ -29,6 +29,7 @@
 #if defined(HAVE_LIBCRYPTO_ED25519) || defined(HAVE_LIBCRYPTO_ED448)
 #include <openssl/evp.h>
 #endif
+#include <openssl/bn.h>
 #include <openssl/sha.h>
 #include <openssl/rand.h>
 #include <openssl/rsa.h>
index 231ad9afb0bc44a64b930ab78b3d78068e619f1f..1d3c5ffb627802c76abc4a985d314030703dc4b7 100644 (file)
@@ -15,6 +15,7 @@
 #include "pdns/lock.hh"
 
 #ifdef HAVE_LIBCRYPTO_ECDSA
+#include <openssl/bn.h>
 #include <openssl/ec.h>
 #endif