Method: OpenSSL::X509::StoreContext#time=
- Defined in:
- ossl_x509store.c
#time=(time) ⇒ Object
Sets the time used in the verification. If not set, the current time is used.
753 754 755 756 757 758 759 760 761 762 763 764 |
# File 'ossl_x509store.c', line 753
static VALUE
ossl_x509stctx_set_time(VALUE self, VALUE time)
{
X509_STORE_CTX *store;
long t;
t = NUM2LONG(rb_Integer(time));
GetX509StCtx(self, store);
X509_STORE_CTX_set_time(store, 0, t);
return time;
}
|