Page MenuHomeFreeBSD

OpenSSL: Correct the return value of BIO_get_ktls_*().
ClosedPublic

Authored by jhb on Aug 6 2021, 11:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 20, 9:57 AM
Unknown Object (File)
Tue, May 19, 10:48 PM
Unknown Object (File)
Sun, May 17, 9:16 AM
Unknown Object (File)
Mon, May 11, 3:41 AM
Unknown Object (File)
Mon, May 11, 2:02 AM
Unknown Object (File)
Mon, May 11, 1:30 AM
Unknown Object (File)
Thu, Apr 30, 9:04 AM
Unknown Object (File)
Apr 15 2026, 12:19 AM
Subscribers

Details

Summary

BIO_get_ktls_send() and BIO_get_ktls_recv() are documented as
returning either 0 or 1. However, they were actually returning the
internal value of the associated BIO flag for the true case instead of

Also trim redundant ternary operators.

Obtained from: OpenSSL (f16e52b67c9261bdc7e1284a50502a802921ac6d)
Sponsored by: Netflix
MFC after: 1 week

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 40904
Build 37793: arc lint + arc unit