summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s23_srvr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/s23_srvr.c')
-rw-r--r--src/lib/libssl/s23_srvr.c6
1 files changed, 3 insertions, 3 deletions
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 @@
1/* $OpenBSD: s23_srvr.c,v 1.56 2017/01/23 13:36:13 jsing Exp $ */ 1/* $OpenBSD: s23_srvr.c,v 1.57 2017/01/23 14:35:42 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -279,7 +279,7 @@ ssl23_get_client_hello(SSL *s)
279 279
280 if (!ssl_max_shared_version(s, client_version, 280 if (!ssl_max_shared_version(s, client_version,
281 &shared_version)) { 281 &shared_version)) {
282 if (s->options & SSL_OP_NO_TLSv1) 282 if (s->internal->options & SSL_OP_NO_TLSv1)
283 goto unsupported; 283 goto unsupported;
284 /* 284 /*
285 * We won't be able to use TLS of course, 285 * We won't be able to use TLS of course,
@@ -310,7 +310,7 @@ ssl23_get_client_hello(SSL *s)
310 * only to "backward" versions of TLS. If we have moved 310 * only to "backward" versions of TLS. If we have moved
311 * on to modernity, just say no. 311 * on to modernity, just say no.
312 */ 312 */
313 if (s->options & SSL_OP_NO_TLSv1) 313 if (s->internal->options & SSL_OP_NO_TLSv1)
314 goto unsupported; 314 goto unsupported;
315 315
316 type = 2; 316 type = 2;