diff options
author | jsing <> | 2021-06-30 18:04:06 +0000 |
---|---|---|
committer | jsing <> | 2021-06-30 18:04:06 +0000 |
commit | f10208a76db206460e96c8cf49a915d09538ab21 (patch) | |
tree | faa7cc470a3bd4e999d41af306237c63acea368c /src/lib/libssl/ssl3.h | |
parent | 3cdac1818a4ed4bf937ad8d44b26bdf7ab8fd4e4 (diff) | |
download | openbsd-f10208a76db206460e96c8cf49a915d09538ab21.tar.gz openbsd-f10208a76db206460e96c8cf49a915d09538ab21.tar.bz2 openbsd-f10208a76db206460e96c8cf49a915d09538ab21.zip |
Move some structs from public to private headers.
Move struct ssl_cipher_st, struct ssl_method_st, struct ssl_session_st and
struct ssl3_state_st from public to private headers. These are already
under #ifdef LIBRESSL_INTERNAL and are no longer publicly visible.
ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/ssl3.h')
-rw-r--r-- | src/lib/libssl/ssl3.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/lib/libssl/ssl3.h b/src/lib/libssl/ssl3.h index 04c12bca9c..48ca208264 100644 --- a/src/lib/libssl/ssl3.h +++ b/src/lib/libssl/ssl3.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl3.h,v 1.54 2021/06/13 15:47:11 jsing Exp $ */ | 1 | /* $OpenBSD: ssl3.h,v 1.55 2021/06/30 18:04:06 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -357,21 +357,6 @@ typedef struct ssl3_buffer_st { | |||
357 | #define TLS1_FLAGS_FREEZE_TRANSCRIPT 0x0020 | 357 | #define TLS1_FLAGS_FREEZE_TRANSCRIPT 0x0020 |
358 | #define SSL3_FLAGS_CCS_OK 0x0080 | 358 | #define SSL3_FLAGS_CCS_OK 0x0080 |
359 | 359 | ||
360 | #ifdef LIBRESSL_INTERNAL | ||
361 | |||
362 | struct ssl3_state_internal_st; | ||
363 | |||
364 | typedef struct ssl3_state_st { | ||
365 | long flags; | ||
366 | |||
367 | unsigned char server_random[SSL3_RANDOM_SIZE]; | ||
368 | unsigned char client_random[SSL3_RANDOM_SIZE]; | ||
369 | |||
370 | struct ssl3_state_internal_st *internal; | ||
371 | } SSL3_STATE; | ||
372 | |||
373 | #endif | ||
374 | |||
375 | /* SSLv3 */ | 360 | /* SSLv3 */ |
376 | /*client */ | 361 | /*client */ |
377 | /* extra state */ | 362 | /* extra state */ |