daily pastebin goal
16%
SHARE
TWEET

Qca-Ossl Compilation Patch

Max13 Apr 4th, 2011 236 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- qca-ossl.cpp.orig   2008-10-19 20:53:22.000000000 +0100
  2. +++ qca-ossl.cpp        2008-10-19 20:55:38.000000000 +0100
  3. @@ -327,7 +327,7 @@
  4.         X509V3_CTX ctx;
  5.         X509V3_set_ctx_nodb(&ctx);
  6.         X509V3_set_ctx(&ctx, NULL, cert, NULL, NULL, 0);
  7. -       X509_EXTENSION *ex = X509V3_EXT_conf_nid(NULL, &ctx, NID_subject_key_identifier, "hash");
  8. +       X509_EXTENSION *ex = X509V3_EXT_conf_nid(NULL, &ctx, NID_subject_key_identifier, (char*)"hash");
  9.         return ex;
  10.  }
  11.  
  12. @@ -6597,9 +6597,11 @@
  13.  #ifdef SHA512_DIGEST_LENGTH
  14.         list += "sha512";
  15.  #endif
  16. +/*
  17.  #ifdef OBJ_whirlpool
  18.         list += "whirlpool";
  19.  #endif
  20. +*/
  21.         return list;
  22.  }
  23.  
  24. @@ -6810,10 +6812,12 @@
  25.                 else if ( type == "sha512" )
  26.                         return new opensslHashContext( EVP_sha512(), this, type);
  27.  #endif
  28. +/*
  29.  #ifdef OBJ_whirlpool
  30.                 else if ( type == "whirlpool" )
  31.                         return new opensslHashContext( EVP_whirlpool(), this, type);
  32.  #endif
  33. +*/
  34.                 else if ( type == "pbkdf1(sha1)" )
  35.                         return new opensslPbkdf1Context( EVP_sha1(), this, type );
  36.                 else if ( type == "pbkdf1(md2)" )
RAW Paste Data
Top