summaryrefslogtreecommitdiff
path: root/source/l/qca-ossl/qca-ossl.nowhirlpool.diff
blob: 96451e1a666a42355ef4b55adea2480e826f9a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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)" )