Move DTLS1_RECORD_DATA into rec_layer.h

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Matt Caswell 2015-02-03 14:32:15 +00:00
parent de07f311ce
commit bb4203d97e
2 changed files with 10 additions and 9 deletions

View file

@ -132,6 +132,16 @@ typedef struct record_pqueue_st {
pqueue q;
} record_pqueue;
typedef struct dtls1_record_data_st {
unsigned char *packet;
unsigned int packet_length;
SSL3_BUFFER rbuf;
SSL3_RECORD rrec;
# ifndef OPENSSL_NO_SCTP
struct bio_dgram_sctp_rcvinfo recordinfo;
# endif
} DTLS1_RECORD_DATA;
typedef struct record_layer_st {
/* The parent SSL structure */
SSL *s;

View file

@ -1467,15 +1467,6 @@ typedef struct dtls1_state_st {
# endif
} DTLS1_STATE;
typedef struct dtls1_record_data_st {
unsigned char *packet;
unsigned int packet_length;
SSL3_BUFFER rbuf;
SSL3_RECORD rrec;
# ifndef OPENSSL_NO_SCTP
struct bio_dgram_sctp_rcvinfo recordinfo;
# endif
} DTLS1_RECORD_DATA;
# ifndef OPENSSL_NO_EC