Don't fail if the PSK identity doesn't match
authorMatt Caswell <matt@openssl.org>
Fri, 6 Jul 2018 08:16:51 +0000 (09:16 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 6 Jul 2018 22:38:53 +0000 (23:38 +0100)
commitc9d6fdd6f79c1725215347ad8409b1e60eaccf0c
tree243f981722d47701f04439d3411c072f10646a8a
parent0edb109f97c1bbbd5961326f93b2ccf385b26674
Don't fail if the PSK identity doesn't match

In 1.1.0 s_server if the PSK identity doesn't match what we have then
a warning is printed and we continue the connection anyway. In 1.1.1,
if TLSv1.3 is used and the identity doesn't match then we abort the
connection. We should really be consistent with the old behaviour.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6659)
apps/s_server.c