|
Hi,
I want to find the issuer of the current certificate in "ssl_callback_SSLVerify_CRL()".
The certificate is "X509_STORE_CTX_get_current_cert(ctx)",
where ctx is the parameter to "ssl_callback_SSLVerify_CRL()". That's
easy.
The problem is to use the "X509_STORE_CTX_get1_issuer()"
function. It tries to get the issuer from ctx->ctx, but it seems that the
issuer is in ctx->chain.
Do I have to build another X509_STORE_CTX structure ? If so,
how ? By adding each certificate from the chain to a store, and then initialise
a context from that store ?
Thanks,
Marc
|
