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:42:07 +0000 (11:42 +0100)
commit279bf3e0a07d6c84043a316ca8494cbc3b51f731
tree9f1fcdc934b576f77f1cadd1a4143aa85f483777
parentb38999240954f7ca80abbf8064cc4c87e306a3b2
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/6011)
ssl/t1_lib.c