From e6434c16cecd7479fc0a1e31c6d7d0e9abd3eee9 Mon Sep 17 00:00:00 2001
From: tb <>
Date: Fri, 10 Sep 2021 14:49:13 +0000
Subject: Remove SSL3_RECORD and SSL3_BUFFER

with/ok jsing
---
 src/lib/libssl/ssl3.h | 26 +-------------------------
 1 file changed, 1 insertion(+), 25 deletions(-)

diff --git a/src/lib/libssl/ssl3.h b/src/lib/libssl/ssl3.h
index 45a81b8707..6c6cc2ad2b 100644
--- a/src/lib/libssl/ssl3.h
+++ b/src/lib/libssl/ssl3.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl3.h,v 1.56 2021/09/10 14:47:24 tb Exp $ */
+/* $OpenBSD: ssl3.h,v 1.57 2021/09/10 14:49:13 tb Exp $ */
 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  * All rights reserved.
  *
@@ -314,30 +314,6 @@ extern "C" {
 #define TLS1_HB_REQUEST		1
 #define TLS1_HB_RESPONSE	2
 
-#ifndef OPENSSL_NO_SSL_INTERN
-#ifndef LIBRESSL_INTERNAL
-
-typedef struct ssl3_record_st {
-/*r */	int type;               /* type of record */
-/*rw*/	unsigned int length;    /* How many bytes available */
-/*r */	unsigned int off;       /* read/write offset into 'buf' */
-/*rw*/	unsigned char *data;    /* pointer to the record data */
-/*rw*/	unsigned char *input;   /* where the decode bytes are */
-/*r */  unsigned long epoch;    /* epoch number, needed by DTLS1 */
-/*r */  unsigned char seq_num[8]; /* sequence number, needed by DTLS1 */
-} SSL3_RECORD;
-
-typedef struct ssl3_buffer_st {
-	unsigned char *buf;	/* at least SSL3_RT_MAX_PACKET_SIZE bytes,
-	                         * see ssl3_setup_buffers() */
-	size_t len;		/* buffer size */
-	int offset;		/* where to 'copy from' */
-	int left;		/* how many bytes left */
-} SSL3_BUFFER;
-
-#endif
-#endif
-
 #define SSL3_CT_RSA_SIGN			1
 #define SSL3_CT_DSS_SIGN			2
 #define SSL3_CT_RSA_FIXED_DH			3
-- 
cgit v1.2.3-55-g6feb