wok-next diff qca-ossl/stuff/patches/qca-ossl-whirlpool.patch @ rev 21157
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 04 11:54:13 2019 +0100 (2019-02-04) |
parents | f5bfda4cdfe9 |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/qca-ossl/stuff/patches/qca-ossl-whirlpool.patch Mon Feb 04 11:54:13 2019 +0100 1.3 @@ -0,0 +1,35 @@ 1.4 +--- a/qca-ossl.cpp 1.5 ++++ b/qca-ossl.cpp 1.6 +@@ -330,1 +330,1 @@ 1.7 +- X509_EXTENSION *ex = X509V3_EXT_conf_nid(NULL, &ctx, NID_subject_key_identifier, "hash"); 1.8 ++ X509_EXTENSION *ex = X509V3_EXT_conf_nid(NULL, &ctx, NID_subject_key_identifier, (char *)"hash"); 1.9 + 1.10 +--- a/qca-ossl.cpp 1.11 ++++ b/qca-ossl.cpp 1.12 +@@ -6597,9 +6597,11 @@ 1.13 + #ifdef SHA512_DIGEST_LENGTH 1.14 + list += "sha512"; 1.15 + #endif 1.16 ++ /* 1.17 + #ifdef OBJ_whirlpool 1.18 + list += "whirlpool"; 1.19 + #endif 1.20 ++ */ 1.21 + return list; 1.22 + } 1.23 + 1.24 +--- a/qca-ossl.cpp 1.25 ++++ b/qca-ossl.cpp 1.26 +@@ -6812,10 +6812,12 @@ 1.27 + else if ( type == "sha512" ) 1.28 + return new opensslHashContext( EVP_sha512(), this, type); 1.29 + #endif 1.30 ++/* 1.31 + #ifdef OBJ_whirlpool 1.32 + else if ( type == "whirlpool" ) 1.33 + return new opensslHashContext( EVP_whirlpool(), this, type); 1.34 + #endif 1.35 ++*/ 1.36 + else if ( type == "pbkdf1(sha1)" ) 1.37 + return new opensslPbkdf1Context( EVP_sha1(), this, type ); 1.38 + else if ( type == "pbkdf1(md2)" )