From: Pauli Date: Thu, 22 Apr 2021 01:04:28 +0000 (+1000) Subject: Runchecker fix for the no-autoerrinit build X-Git-Tag: openssl-3.0.0-alpha16~144 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=582043dae7c283cb9f116946a7a1df0c53b5f192;p=thirdparty%2Fopenssl.git 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) --- diff --git a/test/errtest.c b/test/errtest.c index a5e35d6320c..1d4a708e07b 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)";