diff options
Diffstat (limited to 'ssl/dtls1.h')
-rw-r--r-- | ssl/dtls1.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ssl/dtls1.h b/ssl/dtls1.h index b377cc5f6b..284e531bd3 100644 --- a/ssl/dtls1.h +++ b/ssl/dtls1.h @@ -90,9 +90,11 @@ extern "C" { typedef struct dtls1_bitmap_st { - PQ_64BIT map; - unsigned long length; /* sizeof the bitmap in bits */ - PQ_64BIT max_seq_num; /* max record number seen so far */ + unsigned long map; /* track 32 packets on 32-bit systems + and 64 - on 64-bit systems */ + unsigned char max_seq_num[8]; /* max record number seen so far, + 64-bit value in big-endian + encoding */ } DTLS1_BITMAP; struct hm_header_st |