pkgsrc/security/qca2-ossl/patches/patch-aa
2008-12-30 15:13:28 +00:00

29 lines
742 B
Text

$NetBSD: patch-aa,v 1.1 2008/12/30 15:13:28 stacktic Exp $
--- qca-ossl.cpp.orig 2007-12-11 07:34:57.000000000 +0100
+++ qca-ossl.cpp
@@ -6597,9 +6597,11 @@ static QStringList all_hash_types()
#ifdef SHA512_DIGEST_LENGTH
list += "sha512";
#endif
+/*
#ifdef OBJ_whirlpool
list += "whirlpool";
#endif
+*/
return list;
}
@@ -6810,10 +6812,12 @@ public:
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)" )