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

(-)modules/ssl/ssl_engine_init.c (+5 lines)
Lines 566-571 Link Here
566
     */
566
     */
567
    SSL_CTX_set_options(ctx, SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION);
567
    SSL_CTX_set_options(ctx, SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION);
568
#endif
568
#endif
569
570
#ifdef SSL_MODE_RELEASE_BUFFERS
571
      /* Keep memory usage as low as possible */
572
      SSL_CTX_set_mode (ctx, SSL_MODE_RELEASE_BUFFERS);
573
#endif
569
}
574
}
570
575
571
static void ssl_init_ctx_session_cache(server_rec *s,
576
static void ssl_init_ctx_session_cache(server_rec *s,
(-)support/ab.c (+4 lines)
Lines 2305-2310 Link Here
2305
        exit(1);
2305
        exit(1);
2306
    }
2306
    }
2307
    SSL_CTX_set_options(ssl_ctx, SSL_OP_ALL);
2307
    SSL_CTX_set_options(ssl_ctx, SSL_OP_ALL);
2308
#ifdef SSL MODE RELEASE BUFFERS
2309
    /* Keep memory usage as low as possible */
2310
    SSL_CTX_set_mode (ssl_ctx, SSL_MODE_RELEASE_BUFFERS);
2311
#endif
2308
    if (ssl_cipher != NULL) {
2312
    if (ssl_cipher != NULL) {
2309
        if (!SSL_CTX_set_cipher_list(ssl_ctx, ssl_cipher)) {
2313
        if (!SSL_CTX_set_cipher_list(ssl_ctx, ssl_cipher)) {
2310
            fprintf(stderr, "error setting cipher list [%s]\n", ssl_cipher);
2314
            fprintf(stderr, "error setting cipher list [%s]\n", ssl_cipher);

Return to bug 51618