Hi,

I am using penSSL-1.0.0b version and getting below segfault. Also please see the call trace below. It is crashing while reading the key. I have seen this one before, but it went away after I replaced private key file. But this time I am seeing it frequently with correct key file. And the same key file works properly for other encrypted pkts.

Program terminated with signal 11, Segmentation fault.
#0  BN_num_bits (a=0x0) at bn_lib.c:250
250     bn_lib.c: No such file or directory.
        in bn_lib.c

Call trace:
(gdb) bt
#0  BN_num_bits (a=0x0) at bn_lib.c:250
#1 0x00007f3c6149626a in BN_is_prime_fasttest_ex (a=0x0, checks=<value optimized out>, ctx_passed=0x0, do_trial_division=0, cb=0x0)
    at bn_prime.c:257
#2  0x00007f3c614a28ea in RSA_check_key (key=0x7f3be8007000) at rsa_chk.c:78
#3 0x00000000007e890b in PRF (handle=0x7f3c021f2082, version=769) at ssl_prf.c:280 // This is my function.


Could someone please confirm if this is a known issue?

--
Thanks,
Nilesh
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to