summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_enc.c
diff options
context:
space:
mode:
authorjsing <>2020-03-12 17:01:53 +0000
committerjsing <>2020-03-12 17:01:53 +0000
commit63b0f131cbf0e20ff888516045c6693e8515333f (patch)
tree1386c6711648c45e415953677ee13b17cdc299a3 /src/lib/libssl/d1_enc.c
parent60df56973f50116d575f4d157ca8d70699a4a1b7 (diff)
downloadopenbsd-63b0f131cbf0e20ff888516045c6693e8515333f.tar.gz
openbsd-63b0f131cbf0e20ff888516045c6693e8515333f.tar.bz2
openbsd-63b0f131cbf0e20ff888516045c6693e8515333f.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/d1_enc.c')
-rw-r--r--src/lib/libssl/d1_enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/d1_enc.c b/src/lib/libssl/d1_enc.c
index 20686d2963..3927fbfe0d 100644
--- a/src/lib/libssl/d1_enc.c
+++ b/src/lib/libssl/d1_enc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: d1_enc.c,v 1.14 2017/01/23 08:08:06 beck Exp $ */ 1/* $OpenBSD: d1_enc.c,v 1.15 2020/03/12 17:01:53 jsing Exp $ */
2/* 2/*
3 * DTLS implementation written by Nagendra Modadugu 3 * DTLS implementation written by Nagendra Modadugu
4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. 4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -132,7 +132,7 @@
132int 132int
133dtls1_enc(SSL *s, int send) 133dtls1_enc(SSL *s, int send)
134{ 134{
135 SSL3_RECORD *rec; 135 SSL3_RECORD_INTERNAL *rec;
136 EVP_CIPHER_CTX *ds; 136 EVP_CIPHER_CTX *ds;
137 unsigned long l; 137 unsigned long l;
138 int bs, i, j, k, mac_size = 0; 138 int bs, i, j, k, mac_size = 0;