Page MenuHomeFreeBSD

libfetch: Check for failure to create SSL context
ClosedPublic

Authored by des on Feb 4 2026, 10:36 AM.
Tags
None
Referenced Files
F165672030: D55098.diff
Sun, Aug 9, 3:43 AM
F165605884: D55098.id171406.diff
Sat, Aug 8, 7:14 PM
F165531822: D55098.diff
Sat, Aug 8, 2:15 PM
Unknown Object (File)
Sat, Aug 8, 3:43 AM
Unknown Object (File)
Sat, Aug 8, 3:43 AM
Unknown Object (File)
Sat, Aug 8, 3:42 AM
Unknown Object (File)
Sat, Aug 8, 2:56 AM
Unknown Object (File)
Fri, Aug 7, 7:53 PM
Subscribers

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 Skipped
Unit
Tests Skipped
Build Status
Buildable 70393
Build 67276: arc lint + arc unit