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/s23_srvr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/libssl/s23_srvr.c') diff --git a/src/lib/libssl/s23_srvr.c b/src/lib/libssl/s23_srvr.c index f85b50994e..1cd6721d1f 100644 --- a/src/lib/libssl/s23_srvr.c +++ b/src/lib/libssl/s23_srvr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s23_srvr.c,v 1.56 2017/01/23 13:36:13 jsing Exp $ */ +/* $OpenBSD: s23_srvr.c,v 1.57 2017/01/23 14:35:42 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -279,7 +279,7 @@ ssl23_get_client_hello(SSL *s) if (!ssl_max_shared_version(s, client_version, &shared_version)) { - if (s->options & SSL_OP_NO_TLSv1) + if (s->internal->options & SSL_OP_NO_TLSv1) goto unsupported; /* * We won't be able to use TLS of course, @@ -310,7 +310,7 @@ ssl23_get_client_hello(SSL *s) * only to "backward" versions of TLS. If we have moved * on to modernity, just say no. */ - if (s->options & SSL_OP_NO_TLSv1) + if (s->internal->options & SSL_OP_NO_TLSv1) goto unsupported; type = 2; -- cgit v1.2.3-55-g6feb