Method: OpenSSL::X509::StoreContext#purpose=
- Defined in:
- ossl_x509store.c
#purpose=(purpose) ⇒ Object
Sets the purpose of the context. See Store#purpose=.
719 720 721 722 723 724 725 726 727 728 729 |
# File 'ossl_x509store.c', line 719
static VALUE
ossl_x509stctx_set_purpose(VALUE self, VALUE purpose)
{
X509_STORE_CTX *store;
int p = NUM2INT(purpose);
GetX509StCtx(self, store);
X509_STORE_CTX_set_purpose(store, p);
return purpose;
}
|