summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/a_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/a_time.c')
-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 cd6a790cac..03311e1b7f 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.33 2021/12/25 07:48:09 jsing Exp $ */ 1/* $OpenBSD: a_time.c,v 1.34 2022/06/27 13:54:57 beck 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 *
@@ -92,8 +92,7 @@ ASN1_TIME_free(ASN1_TIME *a)
92 ASN1_item_free((ASN1_VALUE *)a, &ASN1_TIME_it); 92 ASN1_item_free((ASN1_VALUE *)a, &ASN1_TIME_it);
93} 93}
94 94
95/* Public API in OpenSSL. Kept internal for now. */ 95int
96static int
97ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm) 96ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm)
98{ 97{
99 time_t now; 98 time_t now;