summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorBenjamin Kaduk <bkaduk@akamai.com>2017-05-09 18:39:50 -0500
committerBenjamin Kaduk <kaduk@mit.edu>2017-09-15 10:24:50 -0500
commita8b85c5ffee1f5adf7a27fcc5613b752b1a28b63 (patch)
treedc33aad15e19fb53b5e0177744149bf7a4f5e7f1 /doc
parent583d8f6342f1a6e01e72cf55bffabf5b90797317 (diff)
Error out when forcing an unsupported TLS version
If the result of a SSL_{CTX_,}set_{min,max}_proto_version() call leaves the min and max version identical, and support for that version is compiled out of the library, return an error. Such an object has no hope of successfully completing a handshake, and this error may be easier to decipher than the resulting handshake failure. Reviewed-by: Rich Salz <rsalz@openssl.org> (cherry picked from commit c8feba723a33e15201009d716d9ead02e653dfe6) Updated the cherry-pick to not reference TLS1_3_VERSION, which does not exist on this branch. (Merged from https://github.com/openssl/openssl/pull/4376)
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions