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
F107380055: D31438.diff
Mon, Jan 13, 7:47 AM
F107367105: D31438.id93350.diff
Mon, Jan 13, 3:25 AM
Unknown Object (File)
Mon, Dec 30, 5:43 AM
Unknown Object (File)
Wed, Dec 25, 9:11 PM
Unknown Object (File)
Wed, Dec 25, 9:23 AM
Unknown Object (File)
Dec 5 2024, 6:27 PM
Unknown Object (File)
Nov 12 2024, 8:15 PM
Unknown Object (File)
Nov 9 2024, 2:18 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