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:
32cd1da
)
PR: 2457
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 3 Apr 2011 15:49:26 +0000
(15:49 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 3 Apr 2011 15:49:26 +0000
(15:49 +0000)
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de>
Reviewed by: steve
Fix DTLS fragment reassembly bug.
ssl/d1_both.c
patch
|
blob
|
history
diff --git
a/ssl/d1_both.c
b/ssl/d1_both.c
index 920fb1ff24933a9930794e4c06c6e37fd8f1cd67..e9814593016e42f6a95bd91fc88bd943f4d5cf6f 100644
(file)
--- 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[] = {0x
00
, 0x01, 0x03, 0x07, 0x0f, 0x1f, 0x3f, 0x7f};
+static unsigned char bitmask_end_values[] = {0x
ff
, 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};