Page MenuHomeFreeBSD

libfetch: Check for failure to create SSL context
ClosedPublic

Authored by des on Wed, Feb 4, 10:36 AM.

Details

Summary
  • Drop the ssl_meth member, there is no reason to hang on to it.
  • Replace deprecated SSLv23_client_method() with TLS_client_method().
  • Check the return value from SSL_CTX_new().

MFC after: 1 week
PR: 292903

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable