Re: Additional checks on peer certificate

2010-06-22 Thread Arunkumar Manickam
On Tue, Jun 22, 2010 at 2:17 AM, Marcel Fransen wrote: > Hi, > > I want to do some additional checks on the peer certificate, like a > hostname check. > > My first question is how should I get access to the peer certificate in the > verify callback: > The documentation for X509_STORE_CTX_get_cur

Additional checks on peer certificate

2010-06-21 Thread Marcel Fransen
Hi, I want to do some additional checks on the peer certificate, like a hostname check. My first question is how should I get access to the peer certificate in the verify callback: The documentation for X509_STORE_CTX_get_current_cert(ctx); states that in case of no error this may return NUL