diff options
author | jsing <> | 2021-02-20 09:43:29 +0000 |
---|---|---|
committer | jsing <> | 2021-02-20 09:43:29 +0000 |
commit | bd364ca9f4fae8a2b7897e24cf7658d9c8d965d3 (patch) | |
tree | b003a2f9929caeeede1312592aff61b58a88eb00 /src/lib/libssl/ssl_srvr.c | |
parent | 141f3ab66d9950038d21604bc59e4b0055b7983b (diff) | |
download | openbsd-bd364ca9f4fae8a2b7897e24cf7658d9c8d965d3.tar.gz openbsd-bd364ca9f4fae8a2b7897e24cf7658d9c8d965d3.tar.bz2 openbsd-bd364ca9f4fae8a2b7897e24cf7658d9c8d965d3.zip |
Return a min/max version of zero if set to zero.
OpenSSL's SSL{_CTX,}_get_{min,max}_proto_version() return a version of zero
if the minimum or maximum has been set to zero (which means the minimum or
maximum version supported by the method). Previously we returned the
minimum or maximum version supported by the method, instead of zero. Match
OpenSSL's behaviour by using shadow variables.
Discussed with tb@
Diffstat (limited to 'src/lib/libssl/ssl_srvr.c')
0 files changed, 0 insertions, 0 deletions