From c6c2e3135dd6cff21bb4cd05a3891b5fdde04977 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodo=20M=C3=B6ller?= Date: Wed, 11 May 2005 18:25:49 +0000 Subject: Don't use the SSL 2.0 Client Hello format if SSL 2.0 is disabled with the SSL_OP_NO_SSLv2 option. --- ssl/s2_clnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssl/s2_clnt.c') 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) -- cgit v1.2.3