diff options
Diffstat (limited to 'source/l/qca-ossl/qca-ossl.nowhirlpool.diff')
-rw-r--r-- | source/l/qca-ossl/qca-ossl.nowhirlpool.diff | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/source/l/qca-ossl/qca-ossl.nowhirlpool.diff b/source/l/qca-ossl/qca-ossl.nowhirlpool.diff new file mode 100644 index 000000000..96451e1a6 --- /dev/null +++ b/source/l/qca-ossl/qca-ossl.nowhirlpool.diff @@ -0,0 +1,30 @@ +# remove whirlpool usage. the algorithm is missing on at least 0.9.8g and +# 0.9.8i, even though there's an OBJ_whirlpool definition in 0.9.8i. +--- qca-ossl.cpp 2008/08/18 09:08:51 848615 ++++ qca-ossl.cpp 2008/09/24 19:22:26 864423 +@@ -6616,9 +6616,11 @@ + #ifdef SHA512_DIGEST_LENGTH + list += "sha512"; + #endif ++/* + #ifdef OBJ_whirlpool + list += "whirlpool"; + #endif ++*/ + return list; + } + +@@ -6863,10 +6865,12 @@ + else if ( type == "sha512" ) + return new opensslHashContext( EVP_sha512(), this, type); + #endif ++/* + #ifdef OBJ_whirlpool + else if ( type == "whirlpool" ) + return new opensslHashContext( EVP_whirlpool(), this, type); + #endif ++*/ + else if ( type == "pbkdf1(sha1)" ) + return new opensslPbkdf1Context( EVP_sha1(), this, type ); + else if ( type == "pbkdf1(md2)" ) + |