summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2014-05-07 08:31:30 +0000
committerjsg <jsg@openbsd.org>2014-05-07 08:31:30 +0000
commitd70b026628e58895b3a56e053e7133d99d822f08 (patch)
tree87005a2018715c33257e092677b45ecadf604c6c
parentRemove the last hacks concerning the global list of IPv4 addresses in the (diff)
downloadwireguard-openbsd-d70b026628e58895b3a56e053e7133d99d822f08.tar.xz
wireguard-openbsd-d70b026628e58895b3a56e053e7133d99d822f08.zip
add additional includes from eng_cryptodev.c
makes this compile with OPENSSL_NO_DEPRECATED defined. ok deraadt@
-rw-r--r--lib/libcrypto/engine/hw_cryptodev.c5
-rw-r--r--lib/libssl/src/crypto/engine/hw_cryptodev.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/libcrypto/engine/hw_cryptodev.c b/lib/libcrypto/engine/hw_cryptodev.c
index 9b24511b693..7d550451649 100644
--- a/lib/libcrypto/engine/hw_cryptodev.c
+++ b/lib/libcrypto/engine/hw_cryptodev.c
@@ -29,6 +29,7 @@
#include <openssl/objects.h>
#include <openssl/engine.h>
#include <openssl/evp.h>
+#include <openssl/bn.h>
#if (defined(__unix__) || defined(unix)) && !defined(USG)
#include <sys/param.h>
@@ -53,6 +54,10 @@ ENGINE_load_cryptodev(void)
#include <sys/types.h>
#include <crypto/cryptodev.h>
+#include <openssl/dh.h>
+#include <openssl/dsa.h>
+#include <openssl/err.h>
+#include <openssl/rsa.h>
#include <sys/ioctl.h>
#include <errno.h>
diff --git a/lib/libssl/src/crypto/engine/hw_cryptodev.c b/lib/libssl/src/crypto/engine/hw_cryptodev.c
index 9b24511b693..7d550451649 100644
--- a/lib/libssl/src/crypto/engine/hw_cryptodev.c
+++ b/lib/libssl/src/crypto/engine/hw_cryptodev.c
@@ -29,6 +29,7 @@
#include <openssl/objects.h>
#include <openssl/engine.h>
#include <openssl/evp.h>
+#include <openssl/bn.h>
#if (defined(__unix__) || defined(unix)) && !defined(USG)
#include <sys/param.h>
@@ -53,6 +54,10 @@ ENGINE_load_cryptodev(void)
#include <sys/types.h>
#include <crypto/cryptodev.h>
+#include <openssl/dh.h>
+#include <openssl/dsa.h>
+#include <openssl/err.h>
+#include <openssl/rsa.h>
#include <sys/ioctl.h>
#include <errno.h>