summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-04-03 15:47:58 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-04-03 15:47:58 +0000
commit6e28b60aa5559ddf82142d0df787f5cf9c0ab15f (patch)
treed8cad95c0b0646d97aaf3a7cb58cea06c502d07a /ssl
parent3b5c1dc56564159871862e49d9c247ff82b42612 (diff)
PR: 2457
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de> Reviewed by: steve Fix DTLS fragment reassembly bug.
Diffstat (limited to 'ssl')
-rw-r--r--ssl/d1_both.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/d1_both.c b/ssl/d1_both.c
index 4ce4064cc9..2569bb7d67 100644
--- a/ssl/d1_both.c
+++ b/ssl/d1_both.c
@@ -153,7 +153,7 @@
#endif
static unsigned char bitmask_start_values[] = {0xff, 0xfe, 0xfc, 0xf8, 0xf0, 0xe0, 0xc0, 0x80};
-static unsigned char bitmask_end_values[] = {0x00, 0x01, 0x03, 0x07, 0x0f, 0x1f, 0x3f, 0x7f};
+static unsigned char bitmask_end_values[] = {0xff, 0x01, 0x03, 0x07, 0x0f, 0x1f, 0x3f, 0x7f};
/* XDTLS: figure out the right values */
static unsigned int g_probable_mtu[] = {1500 - 28, 512 - 28, 256 - 28};