Method: OpenSSL::X509::StoreContext#flags=

Defined in:
ossl_x509store.c

#flags=(flags) ⇒ Object

Sets the verification flags to the context. See Store#flags=.



701
702
703
704
705
706
707
708
709
710
711
# File 'ossl_x509store.c', line 701

static VALUE
ossl_x509stctx_set_flags(VALUE self, VALUE flags)
{
    X509_STORE_CTX *store;
    long f = NUM2LONG(flags);

    GetX509StCtx(self, store);
    X509_STORE_CTX_set_flags(store, f);

    return flags;
}