diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-04-03 15:49:26 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-04-03 15:49:26 +0000 |
commit | 11d4086d8e08a315f1eb5a56f9cb2e535b7bbea2 (patch) | |
tree | 94c1a51517542ad819bbc0b7415bec5e2fd91b70 /ssl/d1_both.c | |
parent | 32cd1da62e1238ed2d23f5244870766e4cbdd0f7 (diff) |
PR: 2457
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de>
Reviewed by: steve
Fix DTLS fragment reassembly bug.
Diffstat (limited to 'ssl/d1_both.c')
-rw-r--r-- | ssl/d1_both.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/d1_both.c b/ssl/d1_both.c index 920fb1ff24..e981459301 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}; |