diff options
| author | Richard Levitte <[email protected]> | 2012-03-14 13:39:00 +0100 |
|---|---|---|
| committer | Richard Levitte <[email protected]> | 2012-03-14 13:39:00 +0100 |
| commit | 49f6cb968ff63793f6671d9026fb2a7034dad79a (patch) | |
| tree | 7e7e379988eec70796b60c85c87da026434ca0b8 | |
| parent | update STATUS (diff) | |
| download | openssl-OpenSSL_1_0_1.tar.gz openssl-OpenSSL_1_0_1.zip | |
cipher should only be set to PSK if JPAKE is used.OpenSSL_1_0_1
| -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 20f661ec501..098cce27ddb 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(); |
