I assume you compiled your libcrypto. You should probably build it -g
to enable debug symbols which will let gdb tell you what file, line,
and function it segv at
Allan
On 7/12/07, Massimiliano Pala <[EMAIL PROTECTED]> wrote:
Hi all,
I have been trying to encode some extensions and sometimes I get a segfault
that I can not explain.
The following code is the one causing the error:
ret = X509V3_EXT_conf(NULL, NULL, name_s, valString);
where:
name_s = certificatePolicies
valString = OID:1.3.6.1.4.1.65.1.1.1.1
by using gdb, I get the following:
Program received signal SIGSEGV, Segmentation fault.
0x4b530940 in X509V3_EXT_i2d () from /lib/libcrypto.so.6
(gdb) backtrace
#0 0x4b530940 in X509V3_EXT_i2d () from /lib/libcrypto.so.6
#1 0x4b530bd2 in X509V3_EXT_nconf () from /lib/libcrypto.so.6
#2 0x4b530c86 in X509V3_EXT_conf () from /lib/libcrypto.so.6
Do you have any idea of what's going on ?
Later,
Max
--
Best Regards,
Massimiliano Pala
--o------------------------------------------------------------------------
Massimiliano Pala [OpenCA Project Manager] [EMAIL PROTECTED]
[EMAIL PROTECTED]
Dartmouth Computer Science Dept Home Phone: +1 (603) 397-3883
PKI/Trust - Office 063 Work Phone: +1 (603) 646-9179
--o------------------------------------------------------------------------
--
[EMAIL PROTECTED] "金鱼" http://linkedin.com/in/goldfish
please, no proprietary attachments (http://tinyurl.com/cbgq)