summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-06-07 17:22:23 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-06-07 17:22:23 +0000
commite9108b530eab9c095a6ab2d4014ae4ae22eef676 (patch)
tree3afa9953b7e9be9beea8ef4af71e277ec1d5d70b /lib
parentb713078ffb1fcf2197a10ef0da7ca347a6b6dd9e (diff)
Drop an unnecessary cast
ok jsing
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/ssl_txt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl_txt.c b/lib/libssl/ssl_txt.c
index b7da7bb6b4f..cb14ccc855a 100644
--- a/lib/libssl/ssl_txt.c
+++ b/lib/libssl/ssl_txt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_txt.c,v 1.33 2022/06/06 16:12:31 tb Exp $ */
+/* $OpenBSD: ssl_txt.c,v 1.34 2022/06/07 17:22:22 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -153,7 +153,7 @@ SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
if (BIO_puts(bp, "\n Master-Key: ") <= 0)
goto err;
- for (i = 0; i < (unsigned int)x->master_key_length; i++) {
+ for (i = 0; i < x->master_key_length; i++) {
if (BIO_printf(bp, "%02X", x->master_key[i]) <= 0)
goto err;
}