diff options
author | jsing <> | 2017-01-23 14:35:42 +0000 |
---|---|---|
committer | jsing <> | 2017-01-23 14:35:42 +0000 |
commit | d43892e9652017c33ea2cf69639dc9a01090be5f (patch) | |
tree | 27eab6f3272b4b46f77e786896eae8e697800969 /src/lib/libssl/s23_srvr.c | |
parent | 0eff443f2ac1ae9043870f2d40d9dc0d57f236d6 (diff) | |
download | openbsd-d43892e9652017c33ea2cf69639dc9a01090be5f.tar.gz openbsd-d43892e9652017c33ea2cf69639dc9a01090be5f.tar.bz2 openbsd-d43892e9652017c33ea2cf69639dc9a01090be5f.zip |
Move options and mode from SSL_CTX and SSL to internal, since these can be
set and cleared via existing functions.
Diffstat (limited to 'src/lib/libssl/s23_srvr.c')
-rw-r--r-- | src/lib/libssl/s23_srvr.c | 6 |
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; |