diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/a_time.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/a_time.c | 5 |
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. */ | 95 | int |
| 96 | static int | ||
| 97 | ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm) | 96 | ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm) |
| 98 | { | 97 | { |
| 99 | time_t now; | 98 | time_t now; |
