]> git.ipfire.org Git - thirdparty/openssl.git/commit
When selecting a method ensure we use the correct client/server version
authorMatt Caswell <matt@openssl.org>
Thu, 18 Jan 2024 12:07:27 +0000 (12:07 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 31 Jan 2024 10:10:55 +0000 (10:10 +0000)
commita86714041d8a5868c629e9027e28c6d1dacde5f9
tree96df4a5229e47f62f722af3e75621492dd9761a0
parent5fb065589d3a4dfeeb6d48b0561ab3145ceb2127
When selecting a method ensure we use the correct client/server version

Using the client one when the server once should be used could cause a
later call to SSL_set_accept_state() to unexpectedly fail.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23256)
ssl/statem/statem_lib.c