Re: [openssl-dev] [openssl.org #4095] X509_STORE_get_by_subject crash

2015-10-16 Thread tosif tamboli via RT
My application is written for vxWorks OS and openssl and vxWorks are part of the binary that I need to verify On Fri, Oct 16, 2015 at 3:13 PM, tosif tamboli wrote: > Hi, > > below is my application code > sshX509CACertStore = X509_STORE_new(); > >

Re: [openssl-dev] [openssl.org #4095] X509_STORE_get_by_subject crash

2015-10-16 Thread tosif tamboli via RT
Hi, below is my application code sshX509CACertStore = X509_STORE_new(); X509_STORE_set_verify_cb_func(sshX509CACertStore, sshX509CertVerifyCallback); pLookup = X509_STORE_add_lookup(sshX509CACertStore,

[openssl-dev] [openssl.org #4095] X509_STORE_get_by_subject crash

2015-10-15 Thread Emilia Käsper via RT
This sounds like an application problem. 1) Did you recompile your source? 0.9.7 and 1.0.1 are not binary-compatible. 2) The certificate hash format has changed between 1.0.1 and 0.9.7, which could explain why the lookup no longer works: https://www.openssl.org/docs/manmaster/apps/rehash.html If

[openssl-dev] [openssl.org #4095] X509_STORE_get_by_subject crash

2015-10-15 Thread tosif tamboli via RT
Hi, Recently we updated the openssl crypto from 0.9.7e 25 to 1.0.1e But it is always crashing while vertifying the certificates from image When debugged found that crash is happening when X509_STORE_get_by_subject called with issuer and issuer name is empty X509_STORE_get_by_subject (,