summaryrefslogtreecommitdiffstats
path: root/ssl/s2_srvr.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_srvr.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_srvr.c')
-rw-r--r--ssl/s2_srvr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s2_srvr.c b/ssl/s2_srvr.c
index 7cc160b1ad..546feb5174 100644
--- a/ssl/s2_srvr.c
+++ b/ssl/s2_srvr.c
@@ -797,7 +797,7 @@ static int server_hello(SSL *s)
/* lets send out the ciphers we like in the
* prefered order */
sk= s->session->ciphers;
- n=ssl_cipher_list_to_bytes(s,s->session->ciphers,d);
+ n=ssl_cipher_list_to_bytes(s,s->session->ciphers,d,0);
d+=n;
s2n(n,p); /* add cipher length */
}