From 25d7cd1d69e5d5df9c9f346922a48797baca03b7 Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Fri, 22 Nov 2019 13:02:52 +0100 Subject: add X509_cmp_timeframe() including its documentation Reviewed-by: Paul Dale Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/10502) --- include/openssl/x509.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/openssl/x509.h') diff --git a/include/openssl/x509.h b/include/openssl/x509.h index e4de10e..9d8cc03 100644 --- a/include/openssl/x509.h +++ b/include/openssl/x509.h @@ -495,6 +495,8 @@ DECLARE_ASN1_DUP_FUNCTION(X509_NAME_ENTRY) int X509_cmp_time(const ASN1_TIME *s, time_t *t); int X509_cmp_current_time(const ASN1_TIME *s); +int X509_cmp_timeframe(const X509_VERIFY_PARAM *vpm, + const ASN1_TIME *start, const ASN1_TIME *end); ASN1_TIME *X509_time_adj(ASN1_TIME *s, long adj, time_t *t); ASN1_TIME *X509_time_adj_ex(ASN1_TIME *s, int offset_day, long offset_sec, time_t *t); -- cgit v1.1