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)
Thu, Oct 24, 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
Unknown Object (File)
Sep 30 2024, 2:53 PM
Unknown Object (File)
Sep 28 2024, 11:27 AM
Unknown Object (File)
Sep 7 2024, 10:24 PM
Unknown Object (File)
Sep 5 2024, 5:16 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