02-test_errstr.t: print errorcodes in hex (rather than decimal) format
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Fri, 19 Nov 2021 10:12:09 +0000 (11:12 +0100)
committerDr. David von Oheimb <dev@ddvo.net>
Mon, 22 Nov 2021 13:38:18 +0000 (14:38 +0100)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17056)

test/recipes/02-test_errstr.t

index 9427601292d8308e20a943dfec3b1358e2e4740e..396d2731761cda3889ff028f15e89fd92d0e4d35 100644 (file)
@@ -139,7 +139,7 @@ sub match_opensslerr_reason {
     $reason =~ s|\R$||;
     $reason = ( split_error($reason) )[3];
 
-    return match_any($reason, $errcode, @strings);
+    return match_any($reason, $errcode_hex, @strings);
 }
 
 sub match_syserr_reason {