summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2021-09-10 14:49:13 +0000
committertb <>2021-09-10 14:49:13 +0000
commite6434c16cecd7479fc0a1e31c6d7d0e9abd3eee9 (patch)
tree132077bbca52ee4587c0dc65b0fa470096193821 /src/lib
parent1ed546aa8ab01b0dca1af1abca1ad631deaea92f (diff)
downloadopenbsd-e6434c16cecd7479fc0a1e31c6d7d0e9abd3eee9.tar.gz
openbsd-e6434c16cecd7479fc0a1e31c6d7d0e9abd3eee9.tar.bz2
openbsd-e6434c16cecd7479fc0a1e31c6d7d0e9abd3eee9.zip
Remove SSL3_RECORD and SSL3_BUFFER
with/ok jsing
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libssl/ssl3.h26
1 files changed, 1 insertions, 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 @@
1/* $OpenBSD: ssl3.h,v 1.56 2021/09/10 14:47:24 tb Exp $ */ 1/* $OpenBSD: ssl3.h,v 1.57 2021/09/10 14:49:13 tb 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 *
@@ -314,30 +314,6 @@ extern "C" {
314#define TLS1_HB_REQUEST 1 314#define TLS1_HB_REQUEST 1
315#define TLS1_HB_RESPONSE 2 315#define TLS1_HB_RESPONSE 2
316 316
317#ifndef OPENSSL_NO_SSL_INTERN
318#ifndef LIBRESSL_INTERNAL
319
320typedef struct ssl3_record_st {
321/*r */ int type; /* type of record */
322/*rw*/ unsigned int length; /* How many bytes available */
323/*r */ unsigned int off; /* read/write offset into 'buf' */
324/*rw*/ unsigned char *data; /* pointer to the record data */
325/*rw*/ unsigned char *input; /* where the decode bytes are */
326/*r */ unsigned long epoch; /* epoch number, needed by DTLS1 */
327/*r */ unsigned char seq_num[8]; /* sequence number, needed by DTLS1 */
328} SSL3_RECORD;
329
330typedef struct ssl3_buffer_st {
331 unsigned char *buf; /* at least SSL3_RT_MAX_PACKET_SIZE bytes,
332 * see ssl3_setup_buffers() */
333 size_t len; /* buffer size */
334 int offset; /* where to 'copy from' */
335 int left; /* how many bytes left */
336} SSL3_BUFFER;
337
338#endif
339#endif
340
341#define SSL3_CT_RSA_SIGN 1 317#define SSL3_CT_RSA_SIGN 1
342#define SSL3_CT_DSS_SIGN 2 318#define SSL3_CT_DSS_SIGN 2
343#define SSL3_CT_RSA_FIXED_DH 3 319#define SSL3_CT_RSA_FIXED_DH 3