[openssl-commits] [openssl] master update
Matt Caswell
matt at openssl.org
Mon Sep 26 13:43:02 UTC 2016
The branch master has been updated
via 98c1f5b429d036c0370de15f4d6851eed41fa5b3 (commit)
from 3133c2d3067c6add91cf370b0b8342d891b8e97a (commit)
- Log -----------------------------------------------------------------
commit 98c1f5b429d036c0370de15f4d6851eed41fa5b3
Author: Matt Caswell <matt at openssl.org>
Date: Fri Sep 23 14:40:16 2016 +0100
Fix HelloVerifyRequest construction
commit c536b6be1a introduced a bug that causes a reachable assert. This fixes
it.
Reviewed-by: Rich Salz <rsalz at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
ssl/statem/statem_srvr.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ssl/statem/statem_srvr.c b/ssl/statem/statem_srvr.c
index 03d75d0..fbca5a1 100644
--- 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;
More information about the openssl-commits
mailing list