diff options
-rw-r--r-- | apps/s_client.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index 20f661ec50..098cce27dd 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -993,14 +993,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(); |