summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl3.h
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2020-03-12 17:01:53 +0000
committerjsing <jsing@openbsd.org>2020-03-12 17:01:53 +0000
commit6182911e33a2ad3f3fb1c68d36e203f50c40469a (patch)
treec16622e95a5e0d111c95e3685ddae988f2613b40 /lib/libssl/ssl3.h
parentsync (diff)
downloadwireguard-openbsd-6182911e33a2ad3f3fb1c68d36e203f50c40469a.tar.xz
wireguard-openbsd-6182911e33a2ad3f3fb1c68d36e203f50c40469a.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 'lib/libssl/ssl3.h')
-rw-r--r--lib/libssl/ssl3.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libssl/ssl3.h b/lib/libssl/ssl3.h
index cadf7fd3872..30dc4c5d7d6 100644
--- a/lib/libssl/ssl3.h
+++ b/lib/libssl/ssl3.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl3.h,v 1.49 2018/11/08 22:28:52 jsing Exp $ */
+/* $OpenBSD: ssl3.h,v 1.50 2020/03/12 17:01:53 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -314,6 +314,7 @@ extern "C" {
#define TLS1_HB_RESPONSE 2
#ifndef OPENSSL_NO_SSL_INTERN
+#ifndef LIBRESSL_INTERNAL
typedef struct ssl3_record_st {
/*r */ int type; /* type of record */
@@ -334,6 +335,7 @@ typedef struct ssl3_buffer_st {
} SSL3_BUFFER;
#endif
+#endif
#define SSL3_CT_RSA_SIGN 1
#define SSL3_CT_DSS_SIGN 2