From 582043dae7c283cb9f116946a7a1df0c53b5f192 Mon Sep 17 00:00:00 2001 From: Pauli Date: Thu, 22 Apr 2021 11:04:28 +1000 Subject: Runchecker fix for the no-autoerrinit build In this case, there was a slight different error output format that wasn't being accounted for in the error test. Fixes #14961 Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/14976) --- test/errtest.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/errtest.c b/test/errtest.c index a5e35d6320..1d4a708e07 100644 --- a/test/errtest.c +++ b/test/errtest.c @@ -74,8 +74,12 @@ static int test_print_error_format(void) goto err; } -# ifndef OPENSSL_NO_ERR +# if !defined(OPENSSL_NO_ERR) +# if defined(OPENSSL_NO_AUTOERRINIT) + lib = "lib(2)"; +# else lib = "system library"; +# endif reason = strerror(syserr); # else lib = "lib(2)"; -- cgit v1.2.3