aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/prov/openssl/openssl_rc4.cpp
diff options
context:
space:
mode:
authort0b3 <[email protected]>2016-10-01 00:49:39 +0200
committerGitHub <[email protected]>2016-10-01 00:49:39 +0200
commit10eb0ead005473881c94449d9d0810789602f188 (patch)
tree11f49aadf24c5d9b73e78db8cdc1b243c9cbfe13 /src/lib/prov/openssl/openssl_rc4.cpp
parent9ba36a7097f29ee54a88e34f38e3bc9842accea6 (diff)
fix compiler error: openssl w/o rc4
Compiling botan with disabled rc4 module fails in case of openssl w/o rc4... Error: ./src/lib/prov/openssl/openssl_rc4.cpp:15:25: fatal error: openssl/rc4.h: No such file or directory #include <openssl/rc4.h>
Diffstat (limited to 'src/lib/prov/openssl/openssl_rc4.cpp')
-rw-r--r--src/lib/prov/openssl/openssl_rc4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/prov/openssl/openssl_rc4.cpp b/src/lib/prov/openssl/openssl_rc4.cpp
index 2e9f8aab7..3db62c32a 100644
--- a/src/lib/prov/openssl/openssl_rc4.cpp
+++ b/src/lib/prov/openssl/openssl_rc4.cpp
@@ -7,7 +7,7 @@
#include <botan/stream_cipher.h>
-#if defined(BOTAN_HAS_OPENSSL)
+#if defined(BOTAN_HAS_OPENSSL) && defined(BOTAN_HAS_RC4)
#include <botan/internal/algo_registry.h>
#include <botan/internal/openssl.h>