summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/o_time.h
diff options
context:
space:
mode:
authorbeck <>2021-10-27 09:50:57 +0000
committerbeck <>2021-10-27 09:50:57 +0000
commit5b11389ce53ed7fffc2ec4099109bd281776223b (patch)
treee390498509bc0c0f8cb6b474d56f38580879b460 /src/lib/libcrypto/o_time.h
parent9708d91b72dd881ff18329e76e72608f97555822 (diff)
downloadopenbsd-5b11389ce53ed7fffc2ec4099109bd281776223b.tar.gz
openbsd-5b11389ce53ed7fffc2ec4099109bd281776223b.tar.bz2
openbsd-5b11389ce53ed7fffc2ec4099109bd281776223b.zip
Add ASN1_TIME_diff from OpenSSL.
The symbol is not yet exposed and will show up with tb@'s forthcoming bump ok tb@ jsing@
Diffstat (limited to 'src/lib/libcrypto/o_time.h')
-rw-r--r--src/lib/libcrypto/o_time.h5
1 files changed, 3 insertions, 2 deletions
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 @@
1/* $OpenBSD: o_time.h,v 1.7 2016/12/21 15:49:29 jsing Exp $ */ 1/* $OpenBSD: o_time.h,v 1.8 2021/10/27 09:50:56 beck Exp $ */
2/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL 2/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL
3 * project 2001. 3 * project 2001.
4 */ 4 */
@@ -64,7 +64,8 @@
64__BEGIN_HIDDEN_DECLS 64__BEGIN_HIDDEN_DECLS
65 65
66int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec); 66int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec);
67int OPENSSL_gmtime_diff(int *pday, int *psec, const struct tm *from,
68 const struct tm *to);
67 69
68__END_HIDDEN_DECLS 70__END_HIDDEN_DECLS
69
70#endif 71#endif