diff --git a/apps/s_client.c b/apps/s_client.c index 53be0f8f8..fe375d0fe 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -749,14 +749,13 @@ 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 OpenSSL_add_ssl_algorithms();