wok-next view Qt4-qca-ossl/stuff/patches/qca-ossl-whirlpool.patch @ rev 20904
libgdata: update bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 30 23:44:42 2018 +0300 (2018-07-30) |
parents | |
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)" )