[openssl-users] X509_STORE crash in CMS_verify

Richard Welty rwelty at nwtime.org
Thu Jul 9 14:39:51 UTC 2015

Hash: SHA256

ok, i have a crash in CMS_verify that suggests i'm not
setting up the store of CAs properly, or i may have made
an error setting up the CA. what should i be looking at
with this error?

(gdb) bt
#0  0x00007ffff7909b6c in X509_STORE_get_by_subject ()
   from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#1  0x00007ffff790a3ca in X509_STORE_CTX_get1_issuer ()
   from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#2  0x00007ffff7906055 in X509_verify_cert ()
   from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#3  0x00007ffff792a8af in ?? () from
#4  0x00007ffff792aeb0 in CMS_verify ()
   from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#5  0x0000000000401f7e in nts_cms_verify (cms_content=0x6281a0,
    certs=0x6206d0, store=0x0,
content_data=content_data at entry=0x7fffffffde88,
    content_length=content_length at entry=0x7fffffffde84) at cms.c:154
#6  0x0000000000401b70 in test_nts_cms_sign_and_verify () at cms.c:184
#7  0x000000000040165e in main (argc=<optimized out>, argv=<optimized
    at run-cms.c:49

More information about the openssl-users mailing list