summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/unit
diff options
context:
space:
mode:
authorjsing <>2021-02-20 09:43:29 +0000
committerjsing <>2021-02-20 09:43:29 +0000
commitabca176b3265c0fa8ba8facf54fcfc4ca66ff3a8 (patch)
treeb003a2f9929caeeede1312592aff61b58a88eb00 /src/regress/lib/libssl/unit
parentaa619d21f44c2256be4789d2d527c977dbe1cec6 (diff)
downloadopenbsd-abca176b3265c0fa8ba8facf54fcfc4ca66ff3a8.tar.gz
openbsd-abca176b3265c0fa8ba8facf54fcfc4ca66ff3a8.tar.bz2
openbsd-abca176b3265c0fa8ba8facf54fcfc4ca66ff3a8.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/regress/lib/libssl/unit')
0 files changed, 0 insertions, 0 deletions