Working inside X509_STORE_CTX using verification callbacks

Matt Caswell matt at
Wed Sep 25 12:31:13 UTC 2019

On 25/09/2019 12:22, Simon Edwards wrote:
>     void X509_STORE_CTX_set0_error(X509_STORE_CTX *ctx, int error) {
>        ctx->error = error;
>    }

This one already exists:

void X509_STORE_CTX_set_error(X509_STORE_CTX *ctx, int err)
    ctx->error = err;

Other missing accessors could be added (and even backported to stable releases)
if there is a strong enough justification for wanting them.


More information about the openssl-users mailing list