Method: OpenSSL::X509::StoreContext#error_string
- Defined in:
- ossl_x509store.c
#error_string ⇒ String
Returns the error string corresponding to the error code retrieved by #error.
637 638 639 640 641 642 643 644 645 646 647 |
# File 'ossl_x509store.c', line 637
static VALUE
ossl_x509stctx_get_err_string(VALUE self)
{
X509_STORE_CTX *ctx;
long err;
GetX509StCtx(self, ctx);
err = X509_STORE_CTX_get_error(ctx);
return rb_str_new2(X509_verify_cert_error_string(err));
}
|