From 2900fc8ae17f1bc0ae03af22bfdb9adabedfeac1 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 30 Nov 2008 22:01:31 +0000 Subject: Don't stop -cipher from working. --- apps/s_server.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/s_server.c b/apps/s_server.c index 3b7fb07765..12d39c35bb 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -1222,16 +1222,16 @@ bad: goto end; } psk_identity = "JPAKE"; + if (cipher) + { + BIO_printf(bio_err, "JPAKE sets cipher to PSK\n"); + goto end; + } + cipher = "PSK"; } - if (cipher) - { - BIO_printf(bio_err, "JPAKE sets cipher to PSK\n"); - goto end; - } - cipher = "PSK"; #endif - + SSL_load_error_strings(); OpenSSL_add_ssl_algorithms(); -- cgit v1.2.3