summaryrefslogtreecommitdiffstats
path: root/ssl/dtls1.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2005-05-30 22:34:37 +0000
committerRichard Levitte <levitte@openssl.org>2005-05-30 22:34:37 +0000
commit188b05792fafa43904fb2c471a734dbfabc98f98 (patch)
tree18fae6379f8794a8c1551d5b473720cf012948a4 /ssl/dtls1.h
parent575901e537cf5b74b9d3ddc37628a4151997e561 (diff)
pqueue and dtls uses 64-bit values. Unfortunately, OpenSSL doesn't
have a uniform representation for those over all architectures, so a little bit of hackery is needed. Contributed by nagendra modadugu <nagendra@cs.stanford.edu>
Diffstat (limited to 'ssl/dtls1.h')
-rw-r--r--ssl/dtls1.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/ssl/dtls1.h b/ssl/dtls1.h
index 5ec13720cd..b377cc5f6b 100644
--- a/ssl/dtls1.h
+++ b/ssl/dtls1.h
@@ -90,9 +90,9 @@ extern "C" {
typedef struct dtls1_bitmap_st
{
- BN_ULLONG map;
+ PQ_64BIT map;
unsigned long length; /* sizeof the bitmap in bits */
- BN_ULLONG max_seq_num; /* max record number seen so far */
+ PQ_64BIT max_seq_num; /* max record number seen so far */
} DTLS1_BITMAP;
struct hm_header_st
@@ -162,9 +162,6 @@ typedef struct dtls1_state_st
unsigned short handshake_read_seq;
- /* only matters for handshake messages */
- BN_ULLONG next_expected_seq_num;
-
/* Received handshake records (processed and unprocessed) */
record_pqueue unprocessed_rcds;
record_pqueue processed_rcds;