diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-02-08 08:51:04 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-02-08 08:51:23 -0500 |
commit | 49ec29044d12ff1d609ebe491f08f84e958be748 (patch) | |
tree | 87e7b48bf83fa497bc0c1690ea6c07fd11169740 /src/lib/crypt_ops/crypto_rsa.c | |
parent | b9abdcd6bce961baea17274ff6d213322d2b46d7 (diff) | |
download | tor-49ec29044d12ff1d609ebe491f08f84e958be748.tar.gz tor-49ec29044d12ff1d609ebe491f08f84e958be748.zip |
Add more openssl includes to fix no-deprecated compilation
Closes ticket 29026; patch from Mangix.
Diffstat (limited to 'src/lib/crypt_ops/crypto_rsa.c')
-rw-r--r-- | src/lib/crypt_ops/crypto_rsa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/crypt_ops/crypto_rsa.c b/src/lib/crypt_ops/crypto_rsa.c index 2b977b0b9b..c9189b0dfc 100644 --- a/src/lib/crypt_ops/crypto_rsa.c +++ b/src/lib/crypt_ops/crypto_rsa.c @@ -31,6 +31,10 @@ #include <sys/stat.h> #endif +#ifdef ENABLE_OPENSSL +#include <openssl/rsa.h> +#endif + /** Return the number of bytes added by padding method <b>padding</b>. */ int |