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
F171000137: D31438.diff
Tue, Sep 8, 2:51 AM
Unknown Object (File)
Sun, Sep 6, 1:40 AM
Unknown Object (File)
Sun, Sep 6, 1:10 AM
Unknown Object (File)
Sat, Sep 5, 6:33 PM
Unknown Object (File)
Sat, Sep 5, 6:33 PM
Unknown Object (File)
Sat, Sep 5, 3:17 PM
Unknown Object (File)
Sat, Sep 5, 8:25 AM
Unknown Object (File)
Fri, Sep 4, 8:37 PM
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