diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2013-01-18 15:05:28 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2013-01-18 15:05:28 +0000 |
commit | e998f8aeb83885275aefbba59c811e48308b2771 (patch) | |
tree | c12efc37fce30c830dadfeb37e0846c94c6609ff /apps | |
parent | e318431e5408a341b582cf14159220a0d1346886 (diff) |
cipher is not used in s_server any more.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_server.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/apps/s_server.c b/apps/s_server.c index acc124538a..5a7c24fe92 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -264,7 +264,6 @@ static int accept_socket= -1; extern int verify_depth, verify_return_error; -static char *cipher=NULL; static int s_server_verify=SSL_VERIFY_NONE; static int s_server_session_id_context = 1; /* anything will do */ static const char *s_cert_file=TEST_CERT,*s_key_file=NULL, *s_chain_file=NULL; @@ -431,7 +430,6 @@ static int MS_CALLBACK ssl_srp_server_param_cb(SSL *s, int *ad, void *arg) static void s_server_init(void) { accept_socket=-1; - cipher=NULL; s_server_verify=SSL_VERIFY_NONE; s_dcert_file=NULL; s_dkey_file=NULL; @@ -1928,23 +1926,6 @@ bad: } #endif - if (cipher != NULL) - { - if(!SSL_CTX_set_cipher_list(ctx,cipher)) - { - BIO_printf(bio_err,"error setting cipher list\n"); - ERR_print_errors(bio_err); - goto end; - } -#ifndef OPENSSL_NO_TLSEXT - if (ctx2 && !SSL_CTX_set_cipher_list(ctx2,cipher)) - { - BIO_printf(bio_err,"error setting cipher list\n"); - ERR_print_errors(bio_err); - goto end; - } -#endif - } SSL_CTX_set_verify(ctx,s_server_verify,verify_callback); SSL_CTX_set_session_id_context(ctx,(void*)&s_server_session_id_context, sizeof s_server_session_id_context); |