summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/s_client.c13
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();