Ensure that SSL_dup copies the min/max protocol version
authorMatt Caswell <matt@openssl.org>
Fri, 12 Jun 2020 09:52:41 +0000 (10:52 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 23 Jun 2020 11:46:47 +0000 (12:46 +0100)
commitf12dd99170c1bbcd4a503fe2e615d6a3f0900d1d
treeb4170de068346a181e98c3ec9831554269051616
parente3d6dc59fb3689f92d890a20fb5e1e5588dc95b8
Ensure that SSL_dup copies the min/max protocol version

With thanks to Rebekah Johnson for reporting this issue.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/12180)
ssl/ssl_lib.c