summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_txt.c
diff options
context:
space:
mode:
authortb <>2022-06-07 17:22:22 +0000
committertb <>2022-06-07 17:22:22 +0000
commite2fef129d29769f5f9ba081e0b874521eab7e57d (patch)
tree6ecbd460bce0398a7f1b3a6363391c66560800c2 /src/lib/libssl/ssl_txt.c
parent4403e3a196ac8b5c4f14b4985818da6f309ee96a (diff)
downloadopenbsd-e2fef129d29769f5f9ba081e0b874521eab7e57d.tar.gz
openbsd-e2fef129d29769f5f9ba081e0b874521eab7e57d.tar.bz2
openbsd-e2fef129d29769f5f9ba081e0b874521eab7e57d.zip
Drop an unnecessary cast
ok jsing
Diffstat (limited to 'src/lib/libssl/ssl_txt.c')
-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 b7da7bb6b4..cb14ccc855 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.33 2022/06/06 16:12:31 tb Exp $ */ 1/* $OpenBSD: ssl_txt.c,v 1.34 2022/06/07 17:22:22 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 *
@@ -153,7 +153,7 @@ SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
153 if (BIO_puts(bp, "\n Master-Key: ") <= 0) 153 if (BIO_puts(bp, "\n Master-Key: ") <= 0)
154 goto err; 154 goto err;
155 155
156 for (i = 0; i < (unsigned int)x->master_key_length; i++) { 156 for (i = 0; i < x->master_key_length; i++) {
157 if (BIO_printf(bp, "%02X", x->master_key[i]) <= 0) 157 if (BIO_printf(bp, "%02X", x->master_key[i]) <= 0)
158 goto err; 158 goto err;
159 } 159 }