提交 bb4203d9 编写于 作者: M Matt Caswell

Move DTLS1_RECORD_DATA into rec_layer.h

Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 de07f311
...@@ -132,6 +132,16 @@ typedef struct record_pqueue_st { ...@@ -132,6 +132,16 @@ typedef struct record_pqueue_st {
pqueue q; pqueue q;
} record_pqueue; } 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 { typedef struct record_layer_st {
/* The parent SSL structure */ /* The parent SSL structure */
SSL *s; SSL *s;
......
...@@ -1467,15 +1467,6 @@ typedef struct dtls1_state_st { ...@@ -1467,15 +1467,6 @@ typedef struct dtls1_state_st {
# endif # endif
} DTLS1_STATE; } 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 # ifndef OPENSSL_NO_EC
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册