diff --git a/apps/s_server.c b/apps/s_server.c index 3b7fb0776..12d39c35b 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();