Don't complain and fail about unknown TLSv1.3 PSK identities in s_server
authorMatt Caswell <matt@openssl.org>
Thu, 18 Oct 2018 13:45:59 +0000 (14:45 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 19 Oct 2018 14:24:14 +0000 (15:24 +0100)
commit8c6371f9f7ff7e54bc204867f809368f3a7f0e17
treeb348c39ceabe2f8b32b0c7dc1d47b7a7282f3764
parentd1bfd8076e28b134f7d6a03611e60381b522c1c9
Don't complain and fail about unknown TLSv1.3 PSK identities in s_server

An unknown PSK identity could be because its actually a session resumption
attempt. Sessions resumptions and external PSKs are indistinguishable so
the callbacks need to fail gracefully if they don't recognise the identity.

Fixes #7433

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7434)

(cherry picked from commit 2d015189b97c60b67e10aed320230357bf6b200f)
apps/s_server.c