instance method
OpenSSL::X509::StoreContext#error_depth
() -> ::Integer
stctx.error_depth → Integer
ext/openssl/ossl_x509store.c
View on GitHub ↗
static VALUE
ossl_x509stctx_get_err_depth(VALUE self)
{
X509_STORE_CTX *ctx;
GetX509StCtx(self, ctx);
return INT2NUM(X509_STORE_CTX_get_error_depth(ctx));
}
Returns the depth of the chain. This is used in combination with error.
See also the man page X509_STORE_CTX_get_error_depth(3).