Re: cert already in hash table

2008-05-30 Thread Francis GASCHET
Hi Bingo ! I'm a stupid freak imbecile guy :-! :-[ :'( I've just a very tiny excuse : the 3 lines of code I didn't show you, which are executed when there is no error are supposed to log the stored certificate. But the log was set up at a too detailed level, which I don't activate usually ! So

Re: cert already in hash table

2008-05-29 Thread Mounir IDRASSI
Hi, The only thing I see in your code is that, inside the while block, you are not setting the CA variable to the next element of the list Gl_listeCA. Thus, at the second loop you will always get an error when calling X509_STORE_add_cert because CA->x509 is pointing to the same certificate as in t

cert already in hash table

2008-05-29 Thread Francis GASCHET
Sorry for the double ;-) Hello, I getting crazy ! In one application I insert CA certificates and CRLs in the X509_STORE. This store is included in the SSL_CTX. No problem. The certificate verification process during handshake runs like a charm. In a second application, I create an X509_STORE a