Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- qca-ossl.cpp.orig 2008-10-19 20:53:22.000000000 +0100
- +++ qca-ossl.cpp 2008-10-19 20:55:38.000000000 +0100
- @@ -327,7 +327,7 @@
- X509V3_CTX ctx;
- X509V3_set_ctx_nodb(&ctx);
- X509V3_set_ctx(&ctx, NULL, cert, NULL, NULL, 0);
- - X509_EXTENSION *ex = X509V3_EXT_conf_nid(NULL, &ctx, NID_subject_key_identifier, "hash");
- + X509_EXTENSION *ex = X509V3_EXT_conf_nid(NULL, &ctx, NID_subject_key_identifier, (char*)"hash");
- return ex;
- }
- @@ -6597,9 +6597,11 @@
- #ifdef SHA512_DIGEST_LENGTH
- list += "sha512";
- #endif
- +/*
- #ifdef OBJ_whirlpool
- list += "whirlpool";
- #endif
- +*/
- return list;
- }
- @@ -6810,10 +6812,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)" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement