wok-next annotate qca-ossl/stuff/patches/qca-ossl-whirlpool.patch @ rev 21267

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