On 2/12/21 4:16, Darren Duncan wrote: > On 2021-12-01 5:54 p.m., Ricardo Signes wrote: >> On Wed, Dec 1, 2021, at 8:08 PM, Yuki Kimoto wrote: >>> Suppose the Perl core contains Net::SSLeay. >>> >>> In this case, Net::SSLeay is already installed without the OpenSSL >>> library and the tests of Net::SSLeay are not yet done. >>> >>> How do we test for correctness of behavior of Net::SSLeay? >> >> We would only build, test, and install Net::SSLeay if openssl was >> available. > > There is another important thing to consider in this discussion, which > is the ability for core to use alternatives to OpenSSL. In this regard, and in the context of just bootstrapping a CPAN client, I think that using standalone TLS/HTTPS clients should be also considered. Getting Net::SSLeay to compile against OpenSSL (or any other SSL client library) can be pretty difficult, but just wrapping something like "openssl s_client" command is mostly trivial. "socat", "curl" or "wget" are other options.Thread Previous | Thread Next