From 9f56389a0b2fbecb7632dfc7aec5de47fe155958 Mon Sep 17 00:00:00 2001 From: beck <> Date: Tue, 8 Nov 2022 12:56:00 +0000 Subject: Replace the old OpenSSL julian date stuff with BoringSSL's OpenSSL dealt with time conversion using a classical julian day scheme. BoringSSL got rid of it and uses only a julian style calculation for seconds since the POSIX time epoch. This changes libressl to use the seconds calculation exculusively instead of a mix of the julian day based conversions and the system time conversions to and from time_t to tm. ok tb@ jsing@ --- src/lib/libcrypto/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/libcrypto/Makefile') diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index a3091616a5..d3daf29970 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.79 2022/08/20 09:16:18 tb Exp $ +# $OpenBSD: Makefile,v 1.80 2022/11/08 12:56:00 beck Exp $ LIB= crypto LIBREBUILD=y @@ -53,7 +53,7 @@ SYMBOL_LIST= ${.CURDIR}/Symbols.list # crypto/ SRCS+= cryptlib.c malloc-wrapper.c mem_dbg.c cversion.c ex_data.c cpt_err.c -SRCS+= o_time.c o_str.c o_init.c o_fips.c +SRCS+= o_str.c o_init.c o_fips.c SRCS+= mem_clr.c crypto_init.c crypto_lock.c # aes/ @@ -72,7 +72,7 @@ SRCS+= tasn_prn.c ameth_lib.c SRCS+= x_pkey.c x_exten.c bio_asn1.c bio_ndef.c asn_mime.c SRCS+= asn1_gen.c asn1_par.c asn1_old_lib.c asn1_err.c a_strnid.c SRCS+= p5_pbe.c p5_pbev2.c p8_pkey.c asn_moid.c -SRCS+= a_time_tm.c asn1_item.c asn1_old.c asn1_types.c asn1_lib.c +SRCS+= a_time_tm.c asn1_item.c asn1_old.c asn1_types.c asn1_lib.c a_time_posix.c # bf/ SRCS+= bf_skey.c bf_ecb.c bf_cfb64.c bf_ofb64.c -- cgit v1.2.3-55-g6feb