wok-next view qca-ossl/stuff/patches/qca-ossl-whirlpool.patch @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents f5bfda4cdfe9
children
line source
1 --- a/qca-ossl.cpp
2 +++ b/qca-ossl.cpp
3 @@ -330,1 +330,1 @@
4 - X509_EXTENSION *ex = X509V3_EXT_conf_nid(NULL, &ctx, NID_subject_key_identifier, "hash");
5 + X509_EXTENSION *ex = X509V3_EXT_conf_nid(NULL, &ctx, NID_subject_key_identifier, (char *)"hash");
7 --- a/qca-ossl.cpp
8 +++ b/qca-ossl.cpp
9 @@ -6597,9 +6597,11 @@
10 #ifdef SHA512_DIGEST_LENGTH
11 list += "sha512";
12 #endif
13 + /*
14 #ifdef OBJ_whirlpool
15 list += "whirlpool";
16 #endif
17 + */
18 return list;
19 }
21 --- a/qca-ossl.cpp
22 +++ b/qca-ossl.cpp
23 @@ -6812,10 +6812,12 @@
24 else if ( type == "sha512" )
25 return new opensslHashContext( EVP_sha512(), this, type);
26 #endif
27 +/*
28 #ifdef OBJ_whirlpool
29 else if ( type == "whirlpool" )
30 return new opensslHashContext( EVP_whirlpool(), this, type);
31 #endif
32 +*/
33 else if ( type == "pbkdf1(sha1)" )
34 return new opensslPbkdf1Context( EVP_sha1(), this, type );
35 else if ( type == "pbkdf1(md2)" )