i2d_X509_SIG() in FIPS mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I am getting segfault while using i2d_X509_SIG() in FIPS mode.
(gdb) bt
#0  0x01f95045 in __memcpy_ssse3_rep () from /lib/libc.so.6
#1  0x00466837 in asn1_ex_i2c () from /usr/local/cm/lib/libcrypto.so.1.0.1
#2  0x00466a36 in asn1_i2d_ex_primitive () from
/usr/local/cm/lib/libcrypto.so.1.0.1
#3  0x00466c4c in ASN1_item_ex_i2d () from
/usr/local/cm/lib/libcrypto.so.1.0.1
#4  0x0046727a in asn1_template_ex_i2d () from
/usr/local/cm/lib/libcrypto.so.1.0.1
#5  0x00466eb3 in ASN1_item_ex_i2d () from
/usr/local/cm/lib/libcrypto.so.1.0.1
#6  0x004675f3 in ASN1_item_i2d () from /usr/local/cm/lib/libcrypto.so.1.0.1
#7  0x0045fb3e in i2d_X509_SIG () from /usr/local/cm/lib/libcrypto.so.1.0.1

unsigned char *ptr, *tmp=NULL;
len=i2d_X509_SIG(&sig,NULL);     --> No issue
sig.algor->algorithm=OBJ_nid2obj(NID_sha1);
tmp = (unsigned char*) malloc(512+1);
ptr=tmp;
i2d_X509_SIG(&sig, &p);  -->while calling secod time gettign core file.

Its working fine in nonfips mode. But in FIPS getting core files. Please
let me know how can i solve this issue.

Thanks,
Gayathri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20150130/89dc181d/attachment.html>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux