summaryrefslogtreecommitdiff
path: root/security/qca2-ossl/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'security/qca2-ossl/patches/patch-aa')
-rw-r--r--security/qca2-ossl/patches/patch-aa29
1 files changed, 29 insertions, 0 deletions
diff --git a/security/qca2-ossl/patches/patch-aa b/security/qca2-ossl/patches/patch-aa
new file mode 100644
index 00000000000..494c5d97954
--- /dev/null
+++ b/security/qca2-ossl/patches/patch-aa
@@ -0,0 +1,29 @@
+$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)" )