diff options
author | Richard Levitte <levitte@openssl.org> | 2005-05-30 22:34:37 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2005-05-30 22:34:37 +0000 |
commit | 188b05792fafa43904fb2c471a734dbfabc98f98 (patch) | |
tree | 18fae6379f8794a8c1551d5b473720cf012948a4 /ssl/ssl3.h | |
parent | 575901e537cf5b74b9d3ddc37628a4151997e561 (diff) | |
download | openssl-new-188b05792fafa43904fb2c471a734dbfabc98f98.tar.gz |
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/ssl3.h')
-rw-r--r-- | ssl/ssl3.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ssl/ssl3.h b/ssl/ssl3.h index 162bc79e04..1e762f276e 100644 --- a/ssl/ssl3.h +++ b/ssl/ssl3.h @@ -123,6 +123,7 @@ #include <openssl/buffer.h> #include <openssl/evp.h> #include <openssl/ssl.h> +#include <openssl/pq_compat.h> #ifdef __cplusplus extern "C" { @@ -295,7 +296,7 @@ typedef struct ssl3_record_st /*rw*/ unsigned char *input; /* where the decode bytes are */ /*r */ unsigned char *comp; /* only used with decompression - malloc()ed */ /*r */ unsigned long epoch; /* epoch number, needed by DTLS1 */ -/*r */ BN_ULLONG seq_num; /* sequence number, needed by DTLS1 */ +/*r */ PQ_64BIT seq_num; /* sequence number, needed by DTLS1 */ } SSL3_RECORD; typedef struct ssl3_buffer_st |