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, Oct 15, 10:28 PM
Unknown Object (File)
Sat, Oct 11, 3:30 AM
Unknown Object (File)
Mon, Oct 6, 5:55 AM
Unknown Object (File)
Wed, Sep 24, 10:28 PM
Unknown Object (File)
Mon, Sep 22, 11:10 AM
Unknown Object (File)
Sep 14 2025, 1:36 AM
Unknown Object (File)
Sep 14 2025, 12:19 AM
Unknown Object (File)
Sep 13 2025, 9:58 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