diff options
author | Pauli <pauli@openssl.org> | 2021-04-22 11:04:28 +1000 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-04-23 11:25:25 +0200 |
commit | 582043dae7c283cb9f116946a7a1df0c53b5f192 (patch) | |
tree | f49cd587e8d0084b4874795ba1d8d78f3ea50f08 /test/errtest.c | |
parent | 9c11e8ec1f20959a174b7a8a37da67eecf65d28b (diff) |
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 <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14976)
Diffstat (limited to 'test/errtest.c')
-rw-r--r-- | test/errtest.c | 6 |
1 files changed, 5 insertions, 1 deletions
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)"; |