diff options
author | Simon Warta <[email protected]> | 2015-07-12 00:58:49 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-07-12 00:58:49 +0200 |
commit | b06417e6e47cef21dd79493b6375dd827d79b97f (patch) | |
tree | 8c8f77d1f88706a71f0928388a8b7d7cee37280d /src/lib | |
parent | faf77be90301663724dfd6cafdfad32cb25b555a (diff) |
Compile openssl RSA only when botan/rsa.h is available
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/vendor/openssl/openssl_rsa.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 <botan/build.h> + +#if defined(BOTAN_HAS_RSA) + #include <botan/rsa.h> #include <botan/internal/pk_utils.h> #include <functional> @@ -146,3 +150,5 @@ BOTAN_REGISTER_TYPE(PK_Ops::Decryption, OpenSSL_RSA_Decryption_Operation, "RSA", } } + +#endif // BOTAN_HAS_RSA |