add additional includes from eng_cryptodev.c
authorjsg <jsg@openbsd.org>
Wed, 7 May 2014 08:31:30 +0000 (08:31 +0000)
committerjsg <jsg@openbsd.org>
Wed, 7 May 2014 08:31:30 +0000 (08:31 +0000)
makes this compile with OPENSSL_NO_DEPRECATED defined.
ok deraadt@

lib/libcrypto/engine/hw_cryptodev.c
lib/libssl/src/crypto/engine/hw_cryptodev.c

index 9b24511..7d55045 100644 (file)
@@ -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>
index 9b24511..7d55045 100644 (file)
@@ -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>