File r864423-whirlpool.diff of Package libqca2

Index: qca-ossl.cpp
===================================================================
--- plugins/qca-ossl-2.0.0-beta3/qca-ossl.cpp	(revision 864422)
+++ plugins/qca-ossl-2.0.0-beta3/qca-ossl.cpp	(revision 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)" )
openSUSE Build Service is sponsored by