summaryrefslogtreecommitdiffstats
path: root/lib/libssl/d1_enc.c
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/d1_enc.c
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/d1_enc.c')
-rw-r--r--lib/libssl/d1_enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/d1_enc.c b/lib/libssl/d1_enc.c
index 20686d29631..3927fbfe0df 100644
--- a/lib/libssl/d1_enc.c
+++ b/lib/libssl/d1_enc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: d1_enc.c,v 1.14 2017/01/23 08:08:06 beck Exp $ */
+/* $OpenBSD: d1_enc.c,v 1.15 2020/03/12 17:01:53 jsing Exp $ */
/*
* DTLS implementation written by Nagendra Modadugu
* (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -132,7 +132,7 @@
int
dtls1_enc(SSL *s, int send)
{
- SSL3_RECORD *rec;
+ SSL3_RECORD_INTERNAL *rec;
EVP_CIPHER_CTX *ds;
unsigned long l;
int bs, i, j, k, mac_size = 0;