summaryrefslogtreecommitdiffstats
path: root/ssl/s2_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/s2_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/s2_clnt.c')
-rw-r--r--ssl/s2_clnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s2_clnt.c b/ssl/s2_clnt.c
index 415cdabb24..33ea7592c4 100644
--- a/ssl/s2_clnt.c
+++ b/ssl/s2_clnt.c
@@ -584,7 +584,7 @@ static int client_hello(SSL *s)
s2n(SSL2_VERSION,p); /* version */
n=j=0;
- n=ssl_cipher_list_to_bytes(s,SSL_get_ciphers(s),d);
+ n=ssl_cipher_list_to_bytes(s,SSL_get_ciphers(s),d,0);
d+=n;
if (n == 0)