Hi Steve, unsigned char *ptr, *tmp=NULL; X509_SIG sig; .... len=i2d_X509_SIG(sig,NULL); tmp = (unsigned char*) malloc(513); ptr=tmp; i2d_X509_SIG(&sig, &ptr); // here causing problem. Thanks, Gayathri On Mon, Feb 2, 2015 at 6:38 PM, Dr. Stephen Henson <steve at openssl.org> wrote: > On Mon, Feb 02, 2015, Gayathri Manoj wrote: > > > Hi All, > > > > Please let me know shall I need to take care the memory separately for > the > > fips mode. > > Only in FIPS mode i am getting the below error while calling > i2d_x509_sig(). > > > > I'm not sure how that can happen. The function i2d_X509_SIG isn't part of > the > FIPS module so shouldn't be affected. How are you calling i2d_X509_SIG? > > Steve. > -- > Dr Stephen N. Henson. OpenSSL project core developer. > Commercial tech support now available see: http://www.openssl.org > _______________________________________________ > openssl-users mailing list > To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20150202/999e430b/attachment-0001.html>