Hi there!!!
I've been working very well with openssl crypto library without "unexpected" errors. But this time I get an error using X509_REQ_sign ( )... I've made a lot of CSR's in a lot of clients with this function without problems but now when I copy-paste the source code to another app the function breaks with the following error code:
error:0D080041:asn1 encoding routines:ASN1_sign:malloc failure
My code:
res = X509_REQ_sign (req, dec_key, EVP_sha1());
if (res == 0)
{
while ( c_error = ERR_get_error() )
if (res == 0)
{
while ( c_error = ERR_get_error() )
// Error message here
}
Previously I made the RSA pair and populate the CSR with no problem ..
Any suggestions??
TIA
Zainos
Do You Yahoo!?
Yahoo! Net: La mejor conexión a internet y 25MB extra a tu correo por $100 al mes.