Fix inconsistent check of UNSAFE_LEGACY_RENEGOTIATION
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:29:18 +0000 (11:29 +0200)
commitdffdcc773ac0a294b1ce620131cb8d7401da9408
tree5530a6dac622fc02b81df17e347dd988cbded712
parent418bb7b31bb7cfca6e419a5aa7bf161784f61059
Fix inconsistent check of UNSAFE_LEGACY_RENEGOTIATION

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: #3523
ssl/record/rec_layer_s3.c