diff options
author | Bodo Möller <bodo@openssl.org> | 2005-05-12 06:24:25 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2005-05-12 06:24:25 +0000 |
commit | 3f19bbf4e3ff4e135f4247a3f5ab9762a030b1f0 (patch) | |
tree | 607a5ee49a5adc1fed5bf95728604cb9f94f0614 /ssl | |
parent | b874ce4dc2e8330bc8276e6c44b6569fc5711dfb (diff) |
fix msg_callback() arguments for SSL 2.0 compatible client hello
(previous revision got this wrong)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/s23_clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s23_clnt.c b/ssl/s23_clnt.c index c951573db3..b21308b6f2 100644 --- a/ssl/s23_clnt.c +++ b/ssl/s23_clnt.c @@ -422,7 +422,7 @@ static int ssl23_client_hello(SSL *s) /* Client Hello has been sent; tell msg_callback */ if (ssl2_compat) - s->msg_callback(1, version, 0, s->init_buf->data+2, ret-2, s, s->msg_callback_arg); + s->msg_callback(1, SSL2_VERSION, 0, s->init_buf->data+2, ret-2, s, s->msg_callback_arg); else s->msg_callback(1, version, SSL3_RT_HANDSHAKE, s->init_buf->data+5, ret-5, s, s->msg_callback_arg); } |