summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authortb <>2020-03-16 15:25:14 +0000
committertb <>2020-03-16 15:25:14 +0000
commitafbeb5d666df4224373ad3c47cef95d0c68ed8d5 (patch)
tree618a5907f280250b761792adbc8ceb103d1a5999 /src/lib/libssl/ssl_lib.c
parentdc99a0fd50f2ded1793b4651a9931696db2b6614 (diff)
downloadopenbsd-afbeb5d666df4224373ad3c47cef95d0c68ed8d5.tar.gz
openbsd-afbeb5d666df4224373ad3c47cef95d0c68ed8d5.tar.bz2
openbsd-afbeb5d666df4224373ad3c47cef95d0c68ed8d5.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 'src/lib/libssl/ssl_lib.c')
-rw-r--r--src/lib/libssl/ssl_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c
index a5a79d76bc..0c9b90be85 100644
--- a/src/lib/libssl/ssl_lib.c
+++ b/src/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_lib.c,v 1.211 2020/01/26 07:24:47 jsing Exp $ */ 1/* $OpenBSD: ssl_lib.c,v 1.212 2020/03/16 15:25:14 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1530,7 +1530,7 @@ found:
1530/* SSL_get0_next_proto_negotiated is deprecated. */ 1530/* SSL_get0_next_proto_negotiated is deprecated. */
1531void 1531void
1532SSL_get0_next_proto_negotiated(const SSL *s, const unsigned char **data, 1532SSL_get0_next_proto_negotiated(const SSL *s, const unsigned char **data,
1533 unsigned *len) 1533 unsigned int *len)
1534{ 1534{
1535 *data = NULL; 1535 *data = NULL;
1536 *len = 0; 1536 *len = 0;
@@ -1637,7 +1637,7 @@ SSL_CTX_set_alpn_select_cb(SSL_CTX* ctx,
1637 */ 1637 */
1638void 1638void
1639SSL_get0_alpn_selected(const SSL *ssl, const unsigned char **data, 1639SSL_get0_alpn_selected(const SSL *ssl, const unsigned char **data,
1640 unsigned *len) 1640 unsigned int *len)
1641{ 1641{
1642 *data = NULL; 1642 *data = NULL;
1643 *len = 0; 1643 *len = 0;