Forum Moderators: phranque

Message Too Old, No Replies

Apache 2.2.9 openssl0.9.8h problem

routine:ASN1_STRING_set:malloc

         

jscjso

2:56 pm on Jun 25, 2008 (gmt 0)

10+ Year Member



I installed the latest Apach2.2.9 in my window, it comes with Openssl 0.9.8h.

When I executed

openssl req -new -key mydomain.key -out mydomain.csr

from my KEY generated with the same openssl.exe.

It errors me out with message:

4740:error:0D0BA041:asn1 encoding routines:ASN1_STRING_set:malloc failue:.\crypto\asn1\asn1)lib.c:381:

I searched internet and found people saying there is a patch at

[cvs.openssl.org...]

Seems like I have to change a line in the source code relating to opnssl/crypto/x509/x509_att.c.

Can someone tell me how to patch my installation? I cannot find a x509_att.c file in my Apach2.2 directories. I do not have C compiler if that is what it needs. I do not know what to do with the patch.
Is there a compiled patch that I can copy into my directory to replace a certain file?

Any suggestion is useful. I think it is a confirmed bug in this latest release.