[pkg-opensc-commit] [libp11] 17/27: Tiny code cleanup

Eric Dorland eric at moszumanska.debian.org
Mon Aug 7 19:48:09 UTC 2017


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository libp11.

commit 6031756d1c159aa9c38e51c9b3d2417bd40ade83
Author: Michał Trojnara <Michal.Trojnara at stunnel.org>
Date:   Tue Jun 27 20:42:04 2017 +0200

    Tiny code cleanup
---
 src/eng_back.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/eng_back.c b/src/eng_back.c
index 2497b15..701f698 100644
--- a/src/eng_back.c
+++ b/src/eng_back.c
@@ -80,12 +80,12 @@ void ctx_log(ENGINE_CTX *ctx, int level, const char *format, ...)
 }
 
 static void dump_hex(ENGINE_CTX *ctx, int level,
-		const char *val, const size_t len)
+		const unsigned char *val, const size_t len)
 {
 	size_t n;
 
 	for (n = 0; n < len; n++)
-		ctx_log(ctx, level, "%02x", (const unsigned char)val[n]);
+		ctx_log(ctx, level, "%02x", val[n]);
 }
 
 /******************************************************************************/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/libp11.git



More information about the pkg-opensc-commit mailing list