[openssl] master update

Richard Levitte levitte at openssl.org
Wed Apr 7 20:10:45 UTC 2021


The branch master has been updated
       via  41385f2708d08155d56ce08dce494152e225069e (commit)
      from  014498fff9ee2e71dfdd82978b8896b05c9c8cb0 (commit)


- Log -----------------------------------------------------------------
commit 41385f2708d08155d56ce08dce494152e225069e
Author: Richard Levitte <levitte at openssl.org>
Date:   Tue Apr 6 15:30:38 2021 +0200

    test/recipes/02-test_errstr.t: Do not test negative system error codes
    
    It's been deemed unlikely that these will end up in OpenSSL error
    records, so we simply don't test them if they happen to be among the
    error codes that perl has support for.
    
    Fixes #14763
    
    Reviewed-by: Tomas Mraz <tomas at openssl.org>
    Reviewed-by: Paul Dale <pauli at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/14779)

-----------------------------------------------------------------------

Summary of changes:
 test/recipes/02-test_errstr.t | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/recipes/02-test_errstr.t b/test/recipes/02-test_errstr.t
index 6bc07f6d65..3bbf530c28 100644
--- a/test/recipes/02-test_errstr.t
+++ b/test/recipes/02-test_errstr.t
@@ -69,6 +69,10 @@ foreach my $errname (@Errno::EXPORT_OK) {
       # is to skip this errcode.
       skip "perl error strings and ssystem error strings for errcode 0 differ", 1
           if $errcode == 0;
+      # On some systems (for example Hurd), there are negative error codes.
+      # These are currently unsupported in OpenSSL error reports.
+      skip "negative error codes are not supported in OpenSSL", 1
+          if $errcode < 0;
 
       &ok(match_syserr_reason($errcode));
     }


More information about the openssl-commits mailing list