Fix a bug in clienthello processing
authorBenjamin Kaduk <bkaduk@akamai.com>
Fri, 22 Jul 2016 14:55:48 +0000 (09:55 -0500)
committerMatt Caswell <matt@openssl.org>
Tue, 13 Dec 2016 14:41:20 +0000 (14:41 +0000)
commit292bb56846ad78ac7b68a00c92153c0c9471665b
treefa0da07110070fe4d2655038b3f49748ebac3d19
parent7624a318ce75aec963fa397622ec2843c42dc075
Fix a bug in clienthello processing

- Always process ALPN (previously there was an early return in the
  certificate status handling)

1.0.2 did not have the double-alert issue from master, but it seems
cleanest to pull in the structural change to alert handling anyway
and jump to f_err instead of err to send the alert in the caller.

(cherry picked from commit 70c22888c1648fe8652e77107f3c74bf2212de36)

Reviewed-by: Emilia Käsper <emilia@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
ssl/s3_srvr.c
ssl/ssl_locl.h
ssl/t1_lib.c