summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-02-03 14:32:15 +0000
committerMatt Caswell <matt@openssl.org>2015-03-26 15:02:00 +0000
commitbb4203d97e7b3350fe501d90485526a6e5dc1e3e (patch)
tree4d4ec1d3972e32f88e358ab622be8b0da38f2d20
parentde07f311ce5569d698c86c7498f98345a9f472d6 (diff)
Move DTLS1_RECORD_DATA into rec_layer.h
Reviewed-by: Richard Levitte <levitte@openssl.org>
-rw-r--r--ssl/record/rec_layer.h10
-rw-r--r--ssl/ssl_locl.h9
2 files changed, 10 insertions, 9 deletions
diff --git a/ssl/record/rec_layer.h b/ssl/record/rec_layer.h
index 1865c85a0e..6bba44d1d8 100644
--- a/ssl/record/rec_layer.h
+++ b/ssl/record/rec_layer.h
@@ -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;
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h
index c64fab44cc..821a642fc2 100644
--- a/ssl/ssl_locl.h
+++ b/ssl/ssl_locl.h
@@ -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