From b06417e6e47cef21dd79493b6375dd827d79b97f Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Sun, 12 Jul 2015 00:58:49 +0200 Subject: Compile openssl RSA only when botan/rsa.h is available --- src/lib/vendor/openssl/openssl_rsa.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lib') diff --git a/src/lib/vendor/openssl/openssl_rsa.cpp b/src/lib/vendor/openssl/openssl_rsa.cpp index 214f1667d..ef86bf91a 100644 --- a/src/lib/vendor/openssl/openssl_rsa.cpp +++ b/src/lib/vendor/openssl/openssl_rsa.cpp @@ -5,6 +5,10 @@ * Botan is released under the Simplified BSD License (see license.txt) */ +#include + +#if defined(BOTAN_HAS_RSA) + #include #include #include @@ -146,3 +150,5 @@ BOTAN_REGISTER_TYPE(PK_Ops::Decryption, OpenSSL_RSA_Decryption_Operation, "RSA", } } + +#endif // BOTAN_HAS_RSA -- cgit v1.2.3