Subject: | Net::SSLeay tests crash on macOS 10.15 (Catalina) with OpenSSL 1.1.1 |
Date: | Sun, 3 May 2020 13:06:25 +0200 |
To: | bug-Net-SSLeay [...] rt.cpan.org |
From: | Gintautas Grigelionis <g.grigelionis [...] gmail.com> |
Net::SSLeay compiles against OpenSSL 1.1.1
/usr/local/Cellar/openssl@1.1/1.1.1g/include/openssl/ssl.h:1503:47: note:
passing argument to parameter 'meth' here
__owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
^
SSLeay.xs:157:31: warning: implicit declaration of function
'SSLv2_client_method' is invalid in C99 [-Wimplicit-function-declaration]
ctx = SSL_CTX_new(SSLv2_client_method());
^
SSLeay.xs:157:31: warning: incompatible integer to pointer conversion
passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct
ssl_method_st *') [-Wint-conversion]
ctx = SSL_CTX_new(SSLv2_client_method());
^~~~~~~~~~~~~~~~~~~~~
but crashes in tests subsequently
# Failed test 'use Crypt::SSLeay;'
# at t/00-basic.t line 6.
# Tried to use 'Crypt::SSLeay'.
# Error: Can't load
'/.../.cpan/build/Crypt-SSLeay-0.72-1/blib/arch/auto/Crypt/SSLeay/SSLeay.bundle'
for module Crypt::SSLeay:
dlopen(/.../.cpan/build/Crypt-SSLeay-0.72-1/blib/arch/auto/Crypt/SSLeay/SSLeay.bundle,
2): Symbol not found: _SSLv2_client_method
# Referenced from:
/.../.cpan/build/Crypt-SSLeay-0.72-1/blib/arch/auto/Crypt/SSLeay/SSLeay.bundle
# Expected in: flat namespace