Fix the alert sent if no shared sig algs
authorMatt Caswell <matt@openssl.org>
Thu, 19 Apr 2018 09:38:57 +0000 (10:38 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 20 Apr 2018 10:40:06 +0000 (11:40 +0100)
commitf55e2fa7b9d4692b31ad7ad72e71915e853de384
treef2ccc1168f87a3d737d8f7ab47c89cbb46835501
parent544069175245b9826dc5f9ddf9e2f38f5b08e1c5
Fix the alert sent if no shared sig algs

We were sending illegal parameter. This isn't correct. The parameters are
legal, we just don't have an overlap. A more appropriate alert is
handshake failure.

Fixes #2919

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6010)
ssl/t1_lib.c