diff options
author | jsing <> | 2020-03-12 17:01:53 +0000 |
---|---|---|
committer | jsing <> | 2020-03-12 17:01:53 +0000 |
commit | cf38ddcaf43a2f6fd1de2405aa74feca6523733c (patch) | |
tree | 1386c6711648c45e415953677ee13b17cdc299a3 /src/lib/libssl/dtls1.h | |
parent | e0c848b5bda852697d7b956ff1f7b8eb68b7ad18 (diff) | |
download | openbsd-cf38ddcaf43a2f6fd1de2405aa74feca6523733c.tar.gz openbsd-cf38ddcaf43a2f6fd1de2405aa74feca6523733c.tar.bz2 openbsd-cf38ddcaf43a2f6fd1de2405aa74feca6523733c.zip |
Use internal versions of SSL3_BUFFER, SSL3_RECORD and DTLS1_RECORD_DATA.
SSL3_BUFFER, SSL3_RECORD and DTLS1_RECORD_DATA are currently still in
public headers, even though their usage is internal. This moves to
using _INTERNAL suffixed versions that are in internal headers, which
then allows us to change them without any potential public API fallout.
ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/dtls1.h')
-rw-r--r-- | src/lib/libssl/dtls1.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libssl/dtls1.h b/src/lib/libssl/dtls1.h index cc672a5934..1ed7c2dc30 100644 --- a/src/lib/libssl/dtls1.h +++ b/src/lib/libssl/dtls1.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dtls1.h,v 1.22 2018/08/24 19:35:05 jsing Exp $ */ | 1 | /* $OpenBSD: dtls1.h,v 1.23 2020/03/12 17:01:53 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
@@ -161,6 +161,8 @@ typedef struct dtls1_state_st { | |||
161 | struct dtls1_state_internal_st *internal; | 161 | struct dtls1_state_internal_st *internal; |
162 | } DTLS1_STATE; | 162 | } DTLS1_STATE; |
163 | 163 | ||
164 | #ifndef LIBRESSL_INTERNAL | ||
165 | |||
164 | typedef struct dtls1_record_data_st { | 166 | typedef struct dtls1_record_data_st { |
165 | unsigned char *packet; | 167 | unsigned char *packet; |
166 | unsigned int packet_length; | 168 | unsigned int packet_length; |
@@ -170,6 +172,8 @@ typedef struct dtls1_record_data_st { | |||
170 | 172 | ||
171 | #endif | 173 | #endif |
172 | 174 | ||
175 | #endif | ||
176 | |||
173 | /* Timeout multipliers (timeout slice is defined in apps/timeouts.h */ | 177 | /* Timeout multipliers (timeout slice is defined in apps/timeouts.h */ |
174 | #define DTLS1_TMO_READ_COUNT 2 | 178 | #define DTLS1_TMO_READ_COUNT 2 |
175 | #define DTLS1_TMO_WRITE_COUNT 2 | 179 | #define DTLS1_TMO_WRITE_COUNT 2 |