From: Bob Beck Date: Tue, 7 Oct 2025 08:07:13 +0000 (-0600) Subject: Windows is having issues, print the time it doesn't like when it fails X-Git-Tag: 4.0-PRE-CLANG-FORMAT-WEBKIT~359 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=002a66cf66761928afe55f66699e51358f255acb;p=thirdparty%2Fopenssl.git Windows is having issues, print the time it doesn't like when it fails Reviewed-by: Neil Horman Reviewed-by: Saša Nedvědický (Merged from https://github.com/openssl/openssl/pull/28623) --- diff --git a/test/x509_internal_test.c b/test/x509_internal_test.c index 53c704d32d7..bf45299110f 100644 --- a/test/x509_internal_test.c +++ b/test/x509_internal_test.c @@ -381,11 +381,11 @@ static int do_x509_time_tests(CERT_TEST_DATA *tests, size_t ntests, int64_t lowe continue; if (ASN1_TIME_adj(nb, (time_t)tests[i].NotBefore, 0, 0) == NULL) { - TEST_info("Could not create NotBefore"); + TEST_info("Could not create NotBefore for time %lld\n", (long long) tests[i].NotBefore); goto err; } if (ASN1_TIME_adj(na, (time_t)tests[i].NotAfter, 0, 0) == NULL) { - TEST_info("Could not create NotAfter"); + TEST_info("Could not create NotAfter for time %lld\n", (long long) tests[i].NotBefore); goto err; }