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
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