Fix some instances of the wrong alert type being sent
authorMatt Caswell <matt@openssl.org>
Wed, 31 Jan 2018 09:53:51 +0000 (09:53 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 1 Feb 2018 10:28:49 +0000 (10:28 +0000)
commit848a950b715fa73070a9d1638e7630acfb0dfa4d
treee3e670a45ae47bb9aeada0bcfcdbfd6e3640955e
parent4e525a0b4db2b11bee15a485b6ed6622ca8948f1
Fix some instances of the wrong alert type being sent

In a few places we sent an internal_error alert instead of a decode_error.

Fixes #5213
Fixes #5214

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