From: Yann Ylavic Date: Wed, 7 Oct 2015 10:42:11 +0000 (+0000) Subject: mod_ssl: follow up to r1707230: fix (inverted) logic for SSL_in_connect_init(). X-Git-Tag: 2.5.0-alpha~2744 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a18a6f89fdb7d996da8685e38922743bcb4ab98;p=thirdparty%2Fapache%2Fhttpd.git mod_ssl: follow up to r1707230: fix (inverted) logic for SSL_in_connect_init(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1707231 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_io.c b/modules/ssl/ssl_engine_io.c index ccb836d1619..2fe84310a1e 100644 --- a/modules/ssl/ssl_engine_io.c +++ b/modules/ssl/ssl_engine_io.c @@ -228,7 +228,7 @@ static int bio_filter_out_write(BIO *bio, const char *in, int inl) #if OPENSSL_VERSION_NUMBER < 0x0009080df need_flush = !SSL_is_init_finished(outctx->filter_ctx->pssl) #else - need_flush = !SSL_in_connect_init(outctx->filter_ctx->pssl); + need_flush = SSL_in_connect_init(outctx->filter_ctx->pssl); #endif if (need_flush) { e = apr_bucket_flush_create(outctx->bb->bucket_alloc);