summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_srvr.c
diff options
context:
space:
mode:
authorbeck <>2014-04-16 18:05:55 +0000
committerbeck <>2014-04-16 18:05:55 +0000
commitcd08fd7b7f7dd206dc05c7e18941b10aef11ab9a (patch)
tree516681ebe1121ac72861c67f1ce12851fce7d1ac /src/lib/libssl/s3_srvr.c
parent8cf170bf672c7d86b3903a219e445ba6138e7e95 (diff)
downloadopenbsd-cd08fd7b7f7dd206dc05c7e18941b10aef11ab9a.tar.gz
openbsd-cd08fd7b7f7dd206dc05c7e18941b10aef11ab9a.tar.bz2
openbsd-cd08fd7b7f7dd206dc05c7e18941b10aef11ab9a.zip
Thanks to the knobs in http://tools.ietf.org/html/rfc5746, we have a knob
to say "allow this connection to negotiate insecurely". de-fang the code that respects this option to ignore it. ok miod@
Diffstat (limited to 'src/lib/libssl/s3_srvr.c')
-rw-r--r--src/lib/libssl/s3_srvr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libssl/s3_srvr.c b/src/lib/libssl/s3_srvr.c
index 93510cb58a..1a924f828e 100644
--- a/src/lib/libssl/s3_srvr.c
+++ b/src/lib/libssl/s3_srvr.c
@@ -269,9 +269,7 @@ ssl3_accept(SSL *s)
269 ssl3_init_finished_mac(s); 269 ssl3_init_finished_mac(s);
270 s->state = SSL3_ST_SR_CLNT_HELLO_A; 270 s->state = SSL3_ST_SR_CLNT_HELLO_A;
271 s->ctx->stats.sess_accept++; 271 s->ctx->stats.sess_accept++;
272 } else if (!s->s3->send_connection_binding && 272 } else if (!s->s3->send_connection_binding) {
273 !(s->options &
274 SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION)) {
275 /* 273 /*
276 * Server attempting to renegotiate with 274 * Server attempting to renegotiate with
277 * client that doesn't support secure 275 * client that doesn't support secure