From 5b11389ce53ed7fffc2ec4099109bd281776223b Mon Sep 17 00:00:00 2001 From: beck <> Date: Wed, 27 Oct 2021 09:50:57 +0000 Subject: Add ASN1_TIME_diff from OpenSSL. The symbol is not yet exposed and will show up with tb@'s forthcoming bump ok tb@ jsing@ --- src/lib/libcrypto/o_time.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/o_time.h') diff --git a/src/lib/libcrypto/o_time.h b/src/lib/libcrypto/o_time.h index 8c6301db31..064f2cc237 100644 --- a/src/lib/libcrypto/o_time.h +++ b/src/lib/libcrypto/o_time.h @@ -1,4 +1,4 @@ -/* $OpenBSD: o_time.h,v 1.7 2016/12/21 15:49:29 jsing Exp $ */ +/* $OpenBSD: o_time.h,v 1.8 2021/10/27 09:50:56 beck Exp $ */ /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL * project 2001. */ @@ -64,7 +64,8 @@ __BEGIN_HIDDEN_DECLS int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec); +int OPENSSL_gmtime_diff(int *pday, int *psec, const struct tm *from, + const struct tm *to); __END_HIDDEN_DECLS - #endif -- cgit v1.2.3-55-g6feb