]> granicus.if.org Git - apache/commitdiff
mod_ssl: follow up to r1707230: fix (inverted) logic for SSL_in_connect_init().
authorYann Ylavic <ylavic@apache.org>
Wed, 7 Oct 2015 10:42:11 +0000 (10:42 +0000)
committerYann Ylavic <ylavic@apache.org>
Wed, 7 Oct 2015 10:42:11 +0000 (10:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1707231 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_io.c

index ccb836d1619f93c11e44ef113c61fa18a7a466d6..2fe84310a1e9a27b5c830991fe69616599ec5ffb 100644 (file)
@@ -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);