diff options
author | 2020-03-12 17:01:53 +0000 | |
---|---|---|
committer | 2020-03-12 17:01:53 +0000 | |
commit | 6182911e33a2ad3f3fb1c68d36e203f50c40469a (patch) | |
tree | c16622e95a5e0d111c95e3685ddae988f2613b40 /lib/libssl/t1_enc.c | |
parent | sync (diff) | |
download | wireguard-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/t1_enc.c')
-rw-r--r-- | lib/libssl/t1_enc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/t1_enc.c b/lib/libssl/t1_enc.c index 1eaa0873832..b399f2bd3ce 100644 --- a/lib/libssl/t1_enc.c +++ b/lib/libssl/t1_enc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: t1_enc.c,v 1.118 2019/05/13 22:48:30 bcook Exp $ */ +/* $OpenBSD: t1_enc.c,v 1.119 2020/03/12 17:01:53 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -668,7 +668,7 @@ tls1_enc(SSL *s, int send) const SSL_AEAD_CTX *aead; const EVP_CIPHER *enc; EVP_CIPHER_CTX *ds; - SSL3_RECORD *rec; + SSL3_RECORD_INTERNAL *rec; unsigned char *seq; unsigned long l; int bs, i, j, k, ret, mac_size = 0; @@ -931,7 +931,7 @@ tls1_final_finish_mac(SSL *s, const char *str, int str_len, unsigned char *out) int tls1_mac(SSL *ssl, unsigned char *md, int send) { - SSL3_RECORD *rec; + SSL3_RECORD_INTERNAL *rec; unsigned char *seq; EVP_MD_CTX *hash; size_t md_size, orig_len; |