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
F106098802: D31438.diff
Wed, Dec 25, 9:23 AM
Unknown Object (File)
Thu, Dec 5, 6:27 PM
Unknown Object (File)
Nov 12 2024, 8:15 PM
Unknown Object (File)
Nov 9 2024, 2:18 AM
Unknown Object (File)
Oct 24 2024, 3:00 AM
Unknown Object (File)
Oct 4 2024, 9:27 AM
Unknown Object (File)
Oct 1 2024, 5:34 PM
Unknown Object (File)
Oct 1 2024, 12:06 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable