projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Define SEQ_NUM_SIZE
[openssl.git]
/
ssl
/
record
/
dtls1_bitmap.c
diff --git
a/ssl/record/dtls1_bitmap.c
b/ssl/record/dtls1_bitmap.c
index eef6b246e0185ad5f901c938e650ad516c8a90c6..9d2d681fbf2a7dd4525776f7541997219baf8c7d 100644
(file)
--- a/
ssl/record/dtls1_bitmap.c
+++ b/
ssl/record/dtls1_bitmap.c
@@
-209,7
+209,7
@@
void dtls1_record_bitmap_update(SSL *s, DTLS1_BITMAP *bitmap)
bitmap->map <<= shift, bitmap->map |= 1UL;
else
bitmap->map = 1UL;
- memcpy(bitmap->max_seq_num, seq,
8
);
+ memcpy(bitmap->max_seq_num, seq,
SEQ_NUM_SIZE
);
} else {
shift = -cmp;
if (shift < sizeof(bitmap->map) * 8)