summaryrefslogtreecommitdiffstats
path: root/ssl/s3_clnt.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2005-05-11 18:25:49 +0000
committerBodo Möller <bodo@openssl.org>2005-05-11 18:25:49 +0000
commitc6c2e3135dd6cff21bb4cd05a3891b5fdde04977 (patch)
treec3db1720b495d5edec01e48abd0696b20cd40fee /ssl/s3_clnt.c
parent4b26fe30de5c29439ebcf39f0baf897864211883 (diff)
Don't use the SSL 2.0 Client Hello format if SSL 2.0 is disabled
with the SSL_OP_NO_SSLv2 option.
Diffstat (limited to 'ssl/s3_clnt.c')
-rw-r--r--ssl/s3_clnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c
index 744748dd5b..d0d1e51019 100644
--- a/ssl/s3_clnt.c
+++ b/ssl/s3_clnt.c
@@ -584,7 +584,7 @@ int ssl3_client_hello(SSL *s)
}
/* Ciphers supported */
- i=ssl_cipher_list_to_bytes(s,SSL_get_ciphers(s),&(p[2]));
+ i=ssl_cipher_list_to_bytes(s,SSL_get_ciphers(s),&(p[2]),0);
if (i == 0)
{
SSLerr(SSL_F_SSL3_CLIENT_HELLO,SSL_R_NO_CIPHERS_AVAILABLE);