summaryrefslogtreecommitdiff
path: root/lib/libssl/dtls1.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/dtls1.h')
-rw-r--r--lib/libssl/dtls1.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libssl/dtls1.h b/lib/libssl/dtls1.h
index cc672a59345..1ed7c2dc302 100644
--- a/lib/libssl/dtls1.h
+++ b/lib/libssl/dtls1.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dtls1.h,v 1.22 2018/08/24 19:35:05 jsing Exp $ */
+/* $OpenBSD: dtls1.h,v 1.23 2020/03/12 17:01:53 jsing Exp $ */
/*
* DTLS implementation written by Nagendra Modadugu
* (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -161,6 +161,8 @@ typedef struct dtls1_state_st {
struct dtls1_state_internal_st *internal;
} DTLS1_STATE;
+#ifndef LIBRESSL_INTERNAL
+
typedef struct dtls1_record_data_st {
unsigned char *packet;
unsigned int packet_length;
@@ -170,6 +172,8 @@ typedef struct dtls1_record_data_st {
#endif
+#endif
+
/* Timeout multipliers (timeout slice is defined in apps/timeouts.h */
#define DTLS1_TMO_READ_COUNT 2
#define DTLS1_TMO_WRITE_COUNT 2