HomeFreeBSD

libfetch: Check for failure to create SSL context

Description

libfetch: Check for failure to create SSL context

  • 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
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D55098

(cherry picked from commit 4e160c6197f75fda3d5d5997ce893087058cf718)

Details

Provenance
desAuthored on Feb 7 2026, 2:24 PM
Reviewer
markj
Differential Revision
D55098: libfetch: Check for failure to create SSL context
Parents
rG0233e3f8953b: lagg: Remove the member pr_num from struct lagg_proto
Branches
Unknown
Tags
Unknown