diff options
Diffstat (limited to 'ext/openssl/ossl_x509.h')
-rw-r--r-- | ext/openssl/ossl_x509.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/openssl/ossl_x509.h b/ext/openssl/ossl_x509.h index 8e9b2330..57680485 100644 --- a/ext/openssl/ossl_x509.h +++ b/ext/openssl/ossl_x509.h @@ -15,6 +15,13 @@ */ extern VALUE mX509; +/* + * Converts the VALUE into Integer and set it to the ASN1_TIME. This is a + * wrapper for X509_time_adj_ex() so passing NULL creates a new ASN1_TIME. + * Note that the caller must check the NULL return. + */ +ASN1_TIME *ossl_x509_time_adjust(ASN1_TIME *, VALUE); + void Init_ossl_x509(void); /* |