axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shan...@apache.org
Subject svn commit: r1166568 - /axis/axis2/c/rampart/trunk/src/omxmlsec/openssl/pem.c
Date Thu, 08 Sep 2011 08:26:14 GMT
Author: shankar
Date: Thu Sep  8 08:26:13 2011
New Revision: 1166568

URL: http://svn.apache.org/viewvc?rev=1166568&view=rev
Log:
Support for big certificates

Modified:
    axis/axis2/c/rampart/trunk/src/omxmlsec/openssl/pem.c

Modified: axis/axis2/c/rampart/trunk/src/omxmlsec/openssl/pem.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/rampart/trunk/src/omxmlsec/openssl/pem.c?rev=1166568&r1=1166567&r2=1166568&view=diff
==============================================================================
--- axis/axis2/c/rampart/trunk/src/omxmlsec/openssl/pem.c (original)
+++ axis/axis2/c/rampart/trunk/src/omxmlsec/openssl/pem.c Thu Sep  8 08:26:13 2011
@@ -47,7 +47,7 @@ openssl_pem_buf_read_pkey(const axutil_e
     
     /** Fix the magic number, causes the failure of 2048 key length issues */
     decode_len = axutil_base64_decode_len(b64_encoded_buf);
-    buff = AXIS2_MALLOC(env->allocator, decode_len + 1000);
+    buff = AXIS2_MALLOC(env->allocator, decode_len + 5000);
 
     ilen = axutil_strlen(b64_encoded_buf);
     EVP_DecodeInit(&ctx);



Mime
View raw message