diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-11-22 21:23:17 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-11-22 21:23:17 +0000 |
commit | 4ba3a66b873703fe020ffd302c79cc7a4fd46799 (patch) | |
tree | f158e4a87757e47ea980d73e381f5d1e5d79a47f /lib | |
parent | 375a79c869aef8a1d052e6e502c0c29a61481bfb (diff) |
Rename last OPENSSL_gmtime() to asn1_time_time_t_to_tm()
This rename was done before commit, but one instance was missed since it
was hidden behind #ifdef SMALL_TIME_T.
Spotted by Android CI.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/asn1/a_time_tm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/asn1/a_time_tm.c b/lib/libcrypto/asn1/a_time_tm.c index 2ae8430a0dc..459f4a27e06 100644 --- a/lib/libcrypto/asn1/a_time_tm.c +++ b/lib/libcrypto/asn1/a_time_tm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: a_time_tm.c,v 1.25 2022/11/08 12:56:00 beck Exp $ */ +/* $OpenBSD: a_time_tm.c,v 1.26 2022/11/22 21:23:16 tb Exp $ */ /* * Copyright (c) 2015 Bob Beck <beck@openbsd.org> * @@ -68,7 +68,7 @@ ASN1_time_tm_clamp_notafter(struct tm *tm) struct tm broken_os_epoch_tm; time_t broken_os_epoch_time = INT_MAX; - if (!OPENSSL_gmtime(&broken_os_epoch_time, &broken_os_epoch_tm)) + if (!asn1_time_time_t_to_tm(&broken_os_epoch_time, &broken_os_epoch_tm)) return 0; if (ASN1_time_tm_cmp(tm, &broken_os_epoch_tm) == 1) |