projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b874ce4
)
fix msg_callback() arguments for SSL 2.0 compatible client hello
author
Bodo Möller
<bodo@openssl.org>
Thu, 12 May 2005 06:24:25 +0000
(06:24 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Thu, 12 May 2005 06:24:25 +0000
(06:24 +0000)
(previous revision got this wrong)
ssl/s23_clnt.c
patch
|
blob
|
history
diff --git
a/ssl/s23_clnt.c
b/ssl/s23_clnt.c
index c951573db33ddf23718082c19d43a0302419eb43..b21308b6f24268252f5cd4fb46a0eab31ce3ffa7 100644
(file)
--- 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);
}