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)
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)";