summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/asn1/a_time.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/asn1/a_time.c b/src/lib/libcrypto/asn1/a_time.c
index a1109968ce..aa6f1c0773 100644
--- a/src/lib/libcrypto/asn1/a_time.c
+++ b/src/lib/libcrypto/asn1/a_time.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: a_time.c,v 1.29 2021/10/27 09:56:43 beck Exp $ */ 1/* $OpenBSD: a_time.c,v 1.30 2021/10/28 14:24:08 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1999 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1999 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -107,8 +107,7 @@ ASN1_TIME_free(ASN1_TIME *a)
107} 107}
108 108
109int 109int
110ASN1_TIME_diff(int *pday, int *psec, const ASN1_TIME *from, 110ASN1_TIME_diff(int *pday, int *psec, const ASN1_TIME *from, const ASN1_TIME *to)
111 const ASN1_TIME *to)
112{ 111{
113 struct tm tm_from, tm_to; 112 struct tm tm_from, tm_to;
114 113