diff options
| author | jsing <> | 2020-03-12 17:01:53 +0000 |
|---|---|---|
| committer | jsing <> | 2020-03-12 17:01:53 +0000 |
| commit | 63b0f131cbf0e20ff888516045c6693e8515333f (patch) | |
| tree | 1386c6711648c45e415953677ee13b17cdc299a3 /src/lib/libssl/dtls1.h | |
| parent | 60df56973f50116d575f4d157ca8d70699a4a1b7 (diff) | |
| download | openbsd-63b0f131cbf0e20ff888516045c6693e8515333f.tar.gz openbsd-63b0f131cbf0e20ff888516045c6693e8515333f.tar.bz2 openbsd-63b0f131cbf0e20ff888516045c6693e8515333f.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 |
