fix length field we create when converting SSL 2.0 format into SSL 3.0/TLS 1.0 format
(the bug was introduced with message callback support)
This commit is contained in:
parent
82b0bf0b87
commit
2fb3f002d0
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue