mirror of
git://slackware.nl/current.git
synced 2025-01-17 18:12:36 +01:00
31 lines
797 B
Diff
31 lines
797 B
Diff
|
# 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)" )
|
||
|
|