From d43892e9652017c33ea2cf69639dc9a01090be5f Mon Sep 17 00:00:00 2001 From: jsing <> Date: Mon, 23 Jan 2017 14:35:42 +0000 Subject: Move options and mode from SSL_CTX and SSL to internal, since these can be set and cleared via existing functions. --- src/lib/libssl/t1_enc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libssl/t1_enc.c') diff --git a/src/lib/libssl/t1_enc.c b/src/lib/libssl/t1_enc.c index c0abe762e6..3181b63e39 100644 --- a/src/lib/libssl/t1_enc.c +++ b/src/lib/libssl/t1_enc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: t1_enc.c,v 1.92 2017/01/23 13:36:13 jsing Exp $ */ +/* $OpenBSD: t1_enc.c,v 1.93 2017/01/23 14:35:42 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -783,7 +783,7 @@ tls1_setup_key_block(SSL *s) if (!tls1_generate_key_block(s, key_block, tmp_block, key_block_len)) goto err; - if (!(s->options & SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS) && + if (!(s->internal->options & SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS) && s->method->internal->version <= TLS1_VERSION) { /* * Enable vulnerability countermeasure for CBC ciphers with -- cgit v1.2.3-55-g6feb