commit | c6c2e3135dd6cff21bb4cd05a3891b5fdde04977 | [log] [tgz] |
---|---|---|
author | Bodo Möller <bodo@openssl.org> | Wed May 11 18:25:49 2005 +0000 |
committer | Bodo Möller <bodo@openssl.org> | Wed May 11 18:25:49 2005 +0000 |
tree | c3db1720b495d5edec01e48abd0696b20cd40fee | |
parent | 4b26fe30de5c29439ebcf39f0baf897864211883 [diff] [blame] |
Don't use the SSL 2.0 Client Hello format if SSL 2.0 is disabled with the SSL_OP_NO_SSLv2 option.
diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index 744748d..d0d1e51 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c
@@ -584,7 +584,7 @@ } /* 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);