summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2022-06-07 17:55:08 +0000
committertb <>2022-06-07 17:55:08 +0000
commit3a22a34c645ee4485327aa2cf15fbfd2e2492ab0 (patch)
treee80baaabb9761e4c29fd55372bc17017b83f2f14
parent6993bef05d69a71e22fe14ee6c148c74591b744b (diff)
downloadopenbsd-3a22a34c645ee4485327aa2cf15fbfd2e2492ab0.tar.gz
openbsd-3a22a34c645ee4485327aa2cf15fbfd2e2492ab0.tar.bz2
openbsd-3a22a34c645ee4485327aa2cf15fbfd2e2492ab0.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)