diff options
author | Bodo Möller <bodo@openssl.org> | 2005-04-26 18:08:00 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2005-04-26 18:08:00 +0000 |
commit | beb056b303bd5733a05a85eb8527d40901e79e1a (patch) | |
tree | 86d419145b0f0ce0109d5f5e8d0cb6a6efcd9056 /ssl/dtls1.h | |
parent | 4e321ffafff3a1f31bbbfdcf1b17c0ecbde2121f (diff) | |
download | openssl-new-beb056b303bd5733a05a85eb8527d40901e79e1a.tar.gz |
fix SSLerr stuff for DTLS1 code;
move some functions from exported header <openssl/dtl1.h> into "ssl_locl.h";
fix silly indentation (a TAB is *not* always 4 spaces)
Diffstat (limited to 'ssl/dtls1.h')
-rw-r--r-- | ssl/dtls1.h | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/ssl/dtls1.h b/ssl/dtls1.h index e3b6ad5ff2..e83201e75f 100644 --- a/ssl/dtls1.h +++ b/ssl/dtls1.h @@ -67,8 +67,6 @@ extern "C" { #endif -#define DTLS1_ALLOW_EXPERIMENTAL_CIPHERSUITES 1 - #define DTLS1_VERSION 0x0100 #define DTLS1_VERSION_MAJOR 0x01 #define DTLS1_VERSION_MINOR 0x00 @@ -104,7 +102,7 @@ struct hm_header_st unsigned short seq; unsigned long frag_off; unsigned long frag_len; - unsigned int is_ccs; + unsigned int is_ccs; }; struct ccs_header_st @@ -126,16 +124,16 @@ struct dtls1_timeout_st }; typedef struct record_pqueue_st - { - unsigned short epoch; - pqueue q; - } record_pqueue; + { + unsigned short epoch; + pqueue q; + } record_pqueue; typedef struct hm_fragment_st - { - struct hm_header_st msg_header; - unsigned char *fragment; - } hm_fragment; + { + struct hm_header_st msg_header; + unsigned char *fragment; + } hm_fragment; typedef struct dtls1_state_st { @@ -164,15 +162,15 @@ typedef struct dtls1_state_st unsigned short handshake_read_seq; - /* only matters for handshake messages */ + /* only matters for handshake messages */ unsigned long long next_expected_seq_num; /* Received handshake records (processed and unprocessed) */ record_pqueue unprocessed_rcds; - record_pqueue processed_rcds; + record_pqueue processed_rcds; - /* Buffered handshake messages */ - pqueue buffered_messages; + /* Buffered handshake messages */ + pqueue buffered_messages; /* Buffered (sent) handshake records */ pqueue sent_messages; |