From 89d87d6264e2a4794bcb2d680f51f0228d9c7a71 Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 10 Sep 2021 14:44:25 +0000 Subject: Remove struct tls_session_ticket_ext_st and TLS_SESSION_TICKET_EXT from public visibility. with/ok jsing --- src/lib/libssl/ssl.h | 4 +++- src/lib/libssl/tls1.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index fba9ea243f..c93f3739bc 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl.h,v 1.202 2021/09/10 09:25:29 tb Exp $ */ +/* $OpenBSD: ssl.h,v 1.203 2021/09/10 14:44:25 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -357,7 +357,9 @@ extern "C" { * in SSL_CTX. */ typedef struct ssl_st *ssl_crock_st; +#if defined(LIBRESSL_INTERNAL) typedef struct tls_session_ticket_ext_st TLS_SESSION_TICKET_EXT; +#endif typedef struct ssl_method_st SSL_METHOD; typedef struct ssl_cipher_st SSL_CIPHER; typedef struct ssl_session_st SSL_SESSION; diff --git a/src/lib/libssl/tls1.h b/src/lib/libssl/tls1.h index 238b202162..d091ae7ca9 100644 --- a/src/lib/libssl/tls1.h +++ b/src/lib/libssl/tls1.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tls1.h,v 1.46 2021/09/08 12:56:14 tb Exp $ */ +/* $OpenBSD: tls1.h,v 1.47 2021/09/10 14:44:25 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -771,11 +771,13 @@ SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb) #define TLS_MD_MASTER_SECRET_CONST "master secret" #define TLS_MD_MASTER_SECRET_CONST_SIZE 13 +#if defined(LIBRESSL_INTERNAL) /* TLS Session Ticket extension struct. */ struct tls_session_ticket_ext_st { unsigned short length; void *data; }; +#endif #ifdef __cplusplus } -- cgit v1.2.3-55-g6feb