View | Details | Raw Unified | Return to bug 60223
Collapse All | Expand All

(-)modules/ssl/ssl_engine_io.c (+6 lines)
Lines 689-694 Link Here
689
            break;
689
            break;
690
        }
690
        }
691
691
692
        ERR_clear_error();
693
692
        /* SSL_read may not read because we haven't taken enough data
694
        /* SSL_read may not read because we haven't taken enough data
693
         * from the stack.  This is where we want to consider all of
695
         * from the stack.  This is where we want to consider all of
694
         * the blocking and SPECULATIVE semantics
696
         * the blocking and SPECULATIVE semantics
Lines 866-871 Link Here
866
        return APR_EGENERAL;
868
        return APR_EGENERAL;
867
    }
869
    }
868
870
871
    ERR_clear_error();
872
869
    outctx = (bio_filter_out_ctx_t *)BIO_get_data(filter_ctx->pbioWrite);
873
    outctx = (bio_filter_out_ctx_t *)BIO_get_data(filter_ctx->pbioWrite);
870
    res = SSL_write(filter_ctx->pssl, (unsigned char *)data, len);
874
    res = SSL_write(filter_ctx->pssl, (unsigned char *)data, len);
871
875
Lines 1343-1348 Link Here
1343
        return APR_SUCCESS;
1347
        return APR_SUCCESS;
1344
    }
1348
    }
1345
1349
1350
    ERR_clear_error();
1351
1346
    if ((n = SSL_accept(filter_ctx->pssl)) <= 0) {
1352
    if ((n = SSL_accept(filter_ctx->pssl)) <= 0) {
1347
        bio_filter_in_ctx_t *inctx = (bio_filter_in_ctx_t *)
1353
        bio_filter_in_ctx_t *inctx = (bio_filter_in_ctx_t *)
1348
                                     BIO_get_data(filter_ctx->pbioRead);
1354
                                     BIO_get_data(filter_ctx->pbioRead);

Return to bug 60223