diff options
author | Jack Lloyd <[email protected]> | 2018-09-04 11:33:08 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-09-04 11:33:08 -0400 |
commit | aa99ccf1d68727e778f92f16e50d215c06386019 (patch) | |
tree | 618f69e589facda0da9896e96d776df11e2fde7b | |
parent | 0bcbc000b7e9cf445c6bb409000e3e1cffd6f5ab (diff) |
Remove use of OpenSSL IDEA
It appears at least some versions of Ubuntu 16.04 have OpenSSLs which
don't define OPENSSL_NO_IDEA and include declarations for EVP_idea_ecb,
but the function is not found at link time. Thus enabling OpenSSL engine
fails.
It is not worth a further fight here.
-rw-r--r-- | src/lib/prov/openssl/openssl_block.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/prov/openssl/openssl_block.cpp b/src/lib/prov/openssl/openssl_block.cpp index 8b0c419d1..ab61037a1 100644 --- a/src/lib/prov/openssl/openssl_block.cpp +++ b/src/lib/prov/openssl/openssl_block.cpp @@ -239,11 +239,6 @@ make_openssl_block_cipher(const std::string& name) return MAKE_OPENSSL_BLOCK_KEYLEN(EVP_cast5_ecb, 1, 16, 1); #endif -#if defined(BOTAN_HAS_IDEA) && !defined(OPENSSL_NO_IDEA) - if(name == "IDEA") - return MAKE_OPENSSL_BLOCK(EVP_idea_ecb); -#endif - #if defined(BOTAN_HAS_SEED) && !defined(OPENSSL_NO_SEED) if(name == "SEED") return MAKE_OPENSSL_BLOCK(EVP_seed_ecb); |