summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl3.h
diff options
context:
space:
mode:
authorjsing <>2020-03-12 17:01:53 +0000
committerjsing <>2020-03-12 17:01:53 +0000
commitcf38ddcaf43a2f6fd1de2405aa74feca6523733c (patch)
tree1386c6711648c45e415953677ee13b17cdc299a3 /src/lib/libssl/ssl3.h
parente0c848b5bda852697d7b956ff1f7b8eb68b7ad18 (diff)
downloadopenbsd-cf38ddcaf43a2f6fd1de2405aa74feca6523733c.tar.gz
openbsd-cf38ddcaf43a2f6fd1de2405aa74feca6523733c.tar.bz2
openbsd-cf38ddcaf43a2f6fd1de2405aa74feca6523733c.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/ssl3.h')
-rw-r--r--src/lib/libssl/ssl3.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl3.h b/src/lib/libssl/ssl3.h
index cadf7fd387..30dc4c5d7d 100644
--- a/src/lib/libssl/ssl3.h
+++ b/src/lib/libssl/ssl3.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl3.h,v 1.49 2018/11/08 22:28:52 jsing Exp $ */ 1/* $OpenBSD: ssl3.h,v 1.50 2020/03/12 17:01:53 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 *
@@ -314,6 +314,7 @@ extern "C" {
314#define TLS1_HB_RESPONSE 2 314#define TLS1_HB_RESPONSE 2
315 315
316#ifndef OPENSSL_NO_SSL_INTERN 316#ifndef OPENSSL_NO_SSL_INTERN
317#ifndef LIBRESSL_INTERNAL
317 318
318typedef struct ssl3_record_st { 319typedef struct ssl3_record_st {
319/*r */ int type; /* type of record */ 320/*r */ int type; /* type of record */
@@ -334,6 +335,7 @@ typedef struct ssl3_buffer_st {
334} SSL3_BUFFER; 335} SSL3_BUFFER;
335 336
336#endif 337#endif
338#endif
337 339
338#define SSL3_CT_RSA_SIGN 1 340#define SSL3_CT_RSA_SIGN 1
339#define SSL3_CT_DSS_SIGN 2 341#define SSL3_CT_DSS_SIGN 2