aboutsummaryrefslogtreecommitdiff
path: root/include/openssl/x509.h
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2019-11-22 13:02:52 +0100
committerMatt Caswell <matt@openssl.org>2019-12-04 15:17:55 +0000
commit25d7cd1d69e5d5df9c9f346922a48797baca03b7 (patch)
tree7c60c618d7e22dc13cb6a7a270fccb50aa3a394c /include/openssl/x509.h
parentdc5d74e648c499d5247ff2d3db125c347abc5c1f (diff)
downloadopenssl-25d7cd1d69e5d5df9c9f346922a48797baca03b7.zip
openssl-25d7cd1d69e5d5df9c9f346922a48797baca03b7.tar.gz
openssl-25d7cd1d69e5d5df9c9f346922a48797baca03b7.tar.bz2
add X509_cmp_timeframe() including its documentation
Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10502)
Diffstat (limited to 'include/openssl/x509.h')
-rw-r--r--include/openssl/x509.h2
1 files changed, 2 insertions, 0 deletions
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);