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