Fix bug in TLSv1.3 PSK processing
authorMatt Caswell <matt@openssl.org>
Tue, 5 Dec 2017 13:36:13 +0000 (13:36 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 6 Dec 2017 14:56:28 +0000 (14:56 +0000)
commit2894e9cb6de62baec5b17d4f248b4ff12eb62005
tree386490ad83d6f2eeb04e9e514fc3fc4840c56e52
parent723a7c5af0733eb4165947064731570adfa7457a
Fix bug in TLSv1.3 PSK processing

The recent SSL error overhaul left a case where an error occurs but
SSLfatal() is not called.

Credit to OSSfuzz for finding this issue.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4847)
ssl/statem/extensions_srvr.c