Method: OpenSSL::X509::Store#trust=

Defined in:
ossl_x509store.c

#trust=(trust) ⇒ Object



266
267
268
269
270
271
272
273
274
275
276
# File 'ossl_x509store.c', line 266

static VALUE
ossl_x509store_set_trust(VALUE self, VALUE trust)
{
    X509_STORE *store;
    int t = NUM2INT(trust);

    GetX509Store(self, store);
    X509_STORE_set_trust(store, t);

    return trust;
}