aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-09-15 15:53:56 -0400
committerJack Lloyd <[email protected]>2018-09-15 15:54:22 -0400
commitd265425180d3e6eb1dc9c7c718329e21711369b3 (patch)
treeea9769ef4e93d360dce21b532dfddbde67bad066 /src
parent2ab738c5b0e18fa1d552bb81c79c93e2e72cf102 (diff)
Use new CAST-128 specific feature macro here
Diffstat (limited to 'src')
-rw-r--r--src/lib/prov/openssl/openssl_block.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/prov/openssl/openssl_block.cpp b/src/lib/prov/openssl/openssl_block.cpp
index ab61037a1..d785c3c8d 100644
--- a/src/lib/prov/openssl/openssl_block.cpp
+++ b/src/lib/prov/openssl/openssl_block.cpp
@@ -234,7 +234,7 @@ make_openssl_block_cipher(const std::string& name)
return MAKE_OPENSSL_BLOCK_KEYLEN(EVP_bf_ecb, 1, 56, 1);
#endif
-#if defined(BOTAN_HAS_CAST) && !defined(OPENSSL_NO_CAST)
+#if defined(BOTAN_HAS_CAST_128) && !defined(OPENSSL_NO_CAST)
if(name == "CAST-128")
return MAKE_OPENSSL_BLOCK_KEYLEN(EVP_cast5_ecb, 1, 16, 1);
#endif