aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_asn1.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/ossl_asn1.h')
-rw-r--r--ext/openssl/ossl_asn1.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/openssl/ossl_asn1.h b/ext/openssl/ossl_asn1.h
index 8250746c79..5c692bf2f0 100644
--- a/ext/openssl/ossl_asn1.h
+++ b/ext/openssl/ossl_asn1.h
@@ -14,7 +14,11 @@
* ASN1_DATE conversions
*/
VALUE asn1time_to_time(ASN1_TIME *);
+#if defined(HAVE_ASN1_TIME_ADJ)
+void ossl_time_extract(VALUE time, time_t *, int *);
+#else
time_t time_to_time_t(VALUE);
+#endif
/*
* ASN1_STRING conversions