From 1f44dac24d1cb752b1a06be9091bb03a88a8598e Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 27 Mar 2014 15:51:25 +0000 Subject: Add -no_resumption_on_reneg to SSL_CONF. --- apps/s_server.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'apps') diff --git a/apps/s_server.c b/apps/s_server.c index b9c2d2a9ea..c9c433872a 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -1053,7 +1053,6 @@ int MAIN(int argc, char *argv[]) EVP_PKEY *s_key = NULL, *s_dkey = NULL; int no_cache = 0, ext_cache = 0; int rev = 0, naccept = -1; - int c_no_resumption_on_reneg = 0; #ifndef OPENSSL_NO_TLSEXT EVP_PKEY *s_key2 = NULL; X509 *s_cert2 = NULL; @@ -1178,10 +1177,6 @@ int MAIN(int argc, char *argv[]) c_auth = 1; } #endif - else if (strcmp(*argv, "-no_resumption_on_reneg") == 0) - { - c_no_resumption_on_reneg = 1; - } else if (strcmp(*argv,"-auth_require_reneg") == 0) { c_auth_require_reneg = 1; @@ -1961,8 +1956,6 @@ bad: } #endif - if (c_no_resumption_on_reneg) - SSL_CTX_set_options(ctx, SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION); if (!set_cert_key_stuff(ctx, s_cert, s_key, s_chain, build_chain)) goto end; #ifndef OPENSSL_NO_TLSEXT -- cgit v1.2.3