[openssl-users] openssl-1.1.1 make test error on Red Hat Enterprise Linux 6.1.

Viktor Dukhovni openssl-users at dukhovni.org
Wed Aug 1 13:37:11 UTC 2018



> On Aug 1, 2018, at 4:42 AM, Matt Caswell <matt at openssl.org> wrote:
> 
> Please can you submit this problem as a github issue:
> 
> https://github.com/openssl/openssl/issues

We certainly need to raise the buffer size, for example on MacOS/X
and FreeBSD errno 47 has a (coincidentally) 47-byte long error message:

  $ perl -le '
    for ($i = 0; $i < 256; ++$i) {
      $! = $i; $l = length("$!");
      if ($l > $m) { $m = $l; $n = $i; }
      last if ($i eq "$!");
    }
    $! = $n; print "$i: $n: $m: $!";
    ' 
  97[*]: 47: 47: Address family not supported by protocol family

This will also be affected by the locale.  I'd set the limit
generously at 128 bytes.

-- 
-- 
	Viktor.

[*] FreeBSD has 96 error strings, while running the same Perl script on
    MacOS/X demonstrates 106 error strings.


More information about the openssl-users mailing list