Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
OpenSSL::X509::StoreContext#clear_flags
stctx.clear_flags(flags = nil)
ext/openssl/ossl_x509store.c
View on GitHub ↗
static VALUE
ossl_x509stctx_clear_flags(int argc, VALUE *argv, VALUE self)
{
X509_STORE_CTX *ctx;
VALUE flags;
rb_scan_args(argc, argv, "01", &flags);
GetX509StCtx(self, ctx);
x509vpm_clear_flags_i(X509_STORE_CTX_get0_param(ctx), flags);
return Qnil;
}
Clears verification flags flags for the Store. If flags is omitted, clears all existing flags.
See also the man page X509_VERIFY_PARAM_clear_flags(3).