]> git.ipfire.org Git - thirdparty/openssl.git/commit - apps/lib/apps.c
Add tests for do_updatedb
authorArmin Fuerst <armin@fuerst.priv.at>
Fri, 4 Feb 2022 19:35:54 +0000 (20:35 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 14 Feb 2022 09:18:46 +0000 (10:18 +0100)
commit065121ff198a84106023013420dedd57ac4ff53a
treeff7da729a33d0380267dbc080a528b3d0f1cf6a9
parentc920020f0bb13f0d2bf0fcad5c7ee63458b633b4
Add tests for do_updatedb

Fixes #13944

Moved "opt_printf_stderr" out of apps.c to avoid duplicate definition in tests.

Added function "asn1_string_to_time_t" including tests.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17645)
12 files changed:
apps/ca.c
apps/include/apps.h
apps/lib/apps.c
apps/lib/apps_opt_printf.c [new file with mode: 0644]
apps/lib/build.info
crypto/asn1/a_time.c
include/crypto/asn1.h
test/asn1_time_test.c
test/build.info
test/ca_internals_test.c [new file with mode: 0644]
test/recipes/80-test_ca_internals.t [new file with mode: 0644]
test/recipes/80-test_ca_internals_data/index.txt [new file with mode: 0644]