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:
a9ab63c
)
fix length field we create when converting SSL 2.0 format into SSL 3.0/TLS 1.0 format
author
Bodo Möller
<bodo@openssl.org>
Sun, 14 Apr 2002 13:04:58 +0000
(13:04 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Sun, 14 Apr 2002 13:04:58 +0000
(13:04 +0000)
(the bug was introduced with message callback support)
ssl/s23_srvr.c
patch
|
blob
|
history
diff --git
a/ssl/s23_srvr.c
b/ssl/s23_srvr.c
index 6170861705e04b4b2927c7be40c863a867ef7f37..9e89cc7f9a24bacbe61834fff9aa86bb2b5dad01 100644
(file)
--- a/
ssl/s23_srvr.c
+++ b/
ssl/s23_srvr.c
@@
-473,7
+473,7
@@
int ssl23_get_client_hello(SSL *s)
*(d++)=1;
*(d++)=0;
- i
=(d-(unsigned char *)s->init_buf->data)
;
+ i
= (d-(unsigned char *)s->init_buf->data) - 4
;
l2n3((long)i, d_len);
/* get the data reused from the init_buf */