Fix inconsistent check of UNSAFE_LEGACY_RENEGOTIATION (1.0.2)
authorTodd Short <tshort@akamai.com>
Mon, 22 May 2017 15:24:59 +0000 (11:24 -0400)
committerKurt Roeckx <kurt@roeckx.be>
Fri, 26 May 2017 09:33:54 +0000 (11:33 +0200)
commitfde111ba045f7c00e2fe673bf5bf161a64c2cb60
tree930a87381ccc2fefffee5ccff760d28c7fd6f8de
parent8a996d2a5530def2307548546cbc27db610c964d
Fix inconsistent check of UNSAFE_LEGACY_RENEGOTIATION (1.0.2)

The check for SSL3_FLAGS_ALLOW_UNSAFE_LEGACY_RENEGOTIATION is
inconsistent. Most places check SSL->options, one place is checking
SSL_CTX->options; fix that.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
GH: #3521
ssl/s3_pkt.c