You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by na...@apache.org on 2010/10/26 05:16:24 UTC
svn commit: r1027350 - /axis/axis2/c/rampart/trunk/src/omxmlsec/openssl/pem.c
Author: nandika
Date: Tue Oct 26 03:16:21 2010
New Revision: 1027350
URL: http://svn.apache.org/viewvc?rev=1027350&view=rev
Log:
added a comment for future ref
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=1027350&r1=1027349&r2=1027350&view=diff
==============================================================================
--- axis/axis2/c/rampart/trunk/src/omxmlsec/openssl/pem.c (original)
+++ axis/axis2/c/rampart/trunk/src/omxmlsec/openssl/pem.c Tue Oct 26 03:16:21 2010
@@ -44,7 +44,8 @@ openssl_pem_buf_read_pkey(const axutil_e
int len = 0;
int ret = 0;
int decode_len = 0;
-
+
+ /** 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);