summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2022-06-07 17:55:08 +0000
committertb <>2022-06-07 17:55:08 +0000
commitb565c3044fd04d2f53fb32c88a3782a539cda96d (patch)
treee80baaabb9761e4c29fd55372bc17017b83f2f14
parent2a2a81d6a4004643e5e61ba25872f74efcd8a570 (diff)
downloadopenbsd-b565c3044fd04d2f53fb32c88a3782a539cda96d.tar.gz
openbsd-b565c3044fd04d2f53fb32c88a3782a539cda96d.tar.bz2
openbsd-b565c3044fd04d2f53fb32c88a3782a539cda96d.zip
Change the loop index from an unsigned int to size_t now that all
upper bounds are known to be size_t. ok jsing
-rw-r--r--src/lib/libssl/ssl_txt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_txt.c b/src/lib/libssl/ssl_txt.c
index cb14ccc855..33b067a73b 100644
--- a/src/lib/libssl/ssl_txt.c
+++ b/src/lib/libssl/ssl_txt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_txt.c,v 1.34 2022/06/07 17:22:22 tb Exp $ */ 1/* $OpenBSD: ssl_txt.c,v 1.35 2022/06/07 17:55:08 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 *
@@ -107,7 +107,7 @@ SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *x)
107int 107int
108SSL_SESSION_print(BIO *bp, const SSL_SESSION *x) 108SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
109{ 109{
110 unsigned int i; 110 size_t i;
111 int ret = 0; 111 int ret = 0;
112 112
113 if (x == NULL) 113 if (x == NULL)