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:
3133c2d
)
Fix HelloVerifyRequest construction
author
Matt Caswell
<matt@openssl.org>
Fri, 23 Sep 2016 13:40:16 +0000
(14:40 +0100)
committer
Matt Caswell
<matt@openssl.org>
Mon, 26 Sep 2016 13:40:33 +0000
(14:40 +0100)
commit
c536b6be1a
introduced a bug that causes a reachable assert. This fixes
it.
Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/statem/statem_srvr.c
patch
|
blob
|
history
diff --git
a/ssl/statem/statem_srvr.c
b/ssl/statem/statem_srvr.c
index 03d75d0c88fc1fcb64ecd12aebc202b9b4dfe3a0..fbca5a168ad378125792f7373a38368a294ebd15 100644
(file)
--- a/
ssl/statem/statem_srvr.c
+++ b/
ssl/statem/statem_srvr.c
@@
-885,6
+885,8
@@
int dtls_construct_hello_verify_request(SSL *s)
}
/* number of bytes to write */
+ s->d1->w_msg_hdr.msg_len = msglen - DTLS1_HM_HEADER_LENGTH;
+ s->d1->w_msg_hdr.frag_len = msglen - DTLS1_HM_HEADER_LENGTH;
s->init_num = (int)msglen;
s->init_off = 0;