diff options
author | jsg <> | 2014-05-07 08:31:30 +0000 |
---|---|---|
committer | jsg <> | 2014-05-07 08:31:30 +0000 |
commit | ec9f9d1688e952d0af7588f9c1cb2b919d4f29e0 (patch) | |
tree | 6744f2b7d32fd8986b58f72b957fb9d7740c661a /src/lib | |
parent | 6f414bcb97887f2aaa9c9118f17a705b1598731f (diff) | |
download | openbsd-ec9f9d1688e952d0af7588f9c1cb2b919d4f29e0.tar.gz openbsd-ec9f9d1688e952d0af7588f9c1cb2b919d4f29e0.tar.bz2 openbsd-ec9f9d1688e952d0af7588f9c1cb2b919d4f29e0.zip |
add additional includes from eng_cryptodev.c
makes this compile with OPENSSL_NO_DEPRECATED defined.
ok deraadt@
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/engine/hw_cryptodev.c | 5 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/engine/hw_cryptodev.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/libcrypto/engine/hw_cryptodev.c b/src/lib/libcrypto/engine/hw_cryptodev.c index 9b24511b69..7d55045164 100644 --- a/src/lib/libcrypto/engine/hw_cryptodev.c +++ b/src/lib/libcrypto/engine/hw_cryptodev.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <openssl/objects.h> | 29 | #include <openssl/objects.h> |
30 | #include <openssl/engine.h> | 30 | #include <openssl/engine.h> |
31 | #include <openssl/evp.h> | 31 | #include <openssl/evp.h> |
32 | #include <openssl/bn.h> | ||
32 | 33 | ||
33 | #if (defined(__unix__) || defined(unix)) && !defined(USG) | 34 | #if (defined(__unix__) || defined(unix)) && !defined(USG) |
34 | #include <sys/param.h> | 35 | #include <sys/param.h> |
@@ -53,6 +54,10 @@ ENGINE_load_cryptodev(void) | |||
53 | 54 | ||
54 | #include <sys/types.h> | 55 | #include <sys/types.h> |
55 | #include <crypto/cryptodev.h> | 56 | #include <crypto/cryptodev.h> |
57 | #include <openssl/dh.h> | ||
58 | #include <openssl/dsa.h> | ||
59 | #include <openssl/err.h> | ||
60 | #include <openssl/rsa.h> | ||
56 | #include <sys/ioctl.h> | 61 | #include <sys/ioctl.h> |
57 | 62 | ||
58 | #include <errno.h> | 63 | #include <errno.h> |
diff --git a/src/lib/libssl/src/crypto/engine/hw_cryptodev.c b/src/lib/libssl/src/crypto/engine/hw_cryptodev.c index 9b24511b69..7d55045164 100644 --- a/src/lib/libssl/src/crypto/engine/hw_cryptodev.c +++ b/src/lib/libssl/src/crypto/engine/hw_cryptodev.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <openssl/objects.h> | 29 | #include <openssl/objects.h> |
30 | #include <openssl/engine.h> | 30 | #include <openssl/engine.h> |
31 | #include <openssl/evp.h> | 31 | #include <openssl/evp.h> |
32 | #include <openssl/bn.h> | ||
32 | 33 | ||
33 | #if (defined(__unix__) || defined(unix)) && !defined(USG) | 34 | #if (defined(__unix__) || defined(unix)) && !defined(USG) |
34 | #include <sys/param.h> | 35 | #include <sys/param.h> |
@@ -53,6 +54,10 @@ ENGINE_load_cryptodev(void) | |||
53 | 54 | ||
54 | #include <sys/types.h> | 55 | #include <sys/types.h> |
55 | #include <crypto/cryptodev.h> | 56 | #include <crypto/cryptodev.h> |
57 | #include <openssl/dh.h> | ||
58 | #include <openssl/dsa.h> | ||
59 | #include <openssl/err.h> | ||
60 | #include <openssl/rsa.h> | ||
56 | #include <sys/ioctl.h> | 61 | #include <sys/ioctl.h> |
57 | 62 | ||
58 | #include <errno.h> | 63 | #include <errno.h> |