summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_pkt.c
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-03-16 15:25:13 +0000
committertb <tb@openbsd.org>2020-03-16 15:25:13 +0000
commitab91a68d0f0554a3c126655f22833d1b554a3051 (patch)
treeea344458d25a987553da1949b0002c80b2407b4d /lib/libssl/ssl_pkt.c
parentAdapt to tls13_record_layer.c r1.30 (the sequence number shouldn't wrap). (diff)
downloadwireguard-openbsd-ab91a68d0f0554a3c126655f22833d1b554a3051.tar.xz
wireguard-openbsd-ab91a68d0f0554a3c126655f22833d1b554a3051.zip
Consistently spell 'unsigned' as 'unsigned int', as style(9) seems
to prefer that. No binary change except in d1_srtp.c where the generated assembly differs only in line numbers (due to a wrapped long line) and in s3_cbc.c where there is no change in the generated assembly. ok inoguchi jsing
Diffstat (limited to 'lib/libssl/ssl_pkt.c')
-rw-r--r--lib/libssl/ssl_pkt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl_pkt.c b/lib/libssl/ssl_pkt.c
index 0d1d4f78c78..157dd9895be 100644
--- a/lib/libssl/ssl_pkt.c
+++ b/lib/libssl/ssl_pkt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_pkt.c,v 1.23 2020/03/12 17:09:02 jsing Exp $ */
+/* $OpenBSD: ssl_pkt.c,v 1.24 2020/03/16 15:25:14 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -332,7 +332,7 @@ ssl3_get_record(SSL *s)
SSL3_RECORD_INTERNAL *rr;
SSL_SESSION *sess;
unsigned char md[EVP_MAX_MD_SIZE];
- unsigned mac_size, orig_len;
+ unsigned int mac_size, orig_len;
rr = &(S3I(s)->rrec);
sess = s->session;