summaryrefslogtreecommitdiffstats
path: root/ssl/dtls1.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-06-07 22:21:14 +0000
committerAndy Polyakov <appro@openssl.org>2005-06-07 22:21:14 +0000
commitdffdb56b7f5ac13102cd3639c115349d3ce2fa01 (patch)
treeaee2300f3d663ab0af4ec8166e1c28d8b8bd97e4 /ssl/dtls1.h
parenta78c0632edd4c9c257362045dbf7c8ca4a045052 (diff)
"Liberate" dtls from BN dependency. Fix bug in replay/update.
Diffstat (limited to 'ssl/dtls1.h')
-rw-r--r--ssl/dtls1.h8
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