[pkg-opensc-commit] [engine-pkcs11] 30/152: kill some dead code.
Eric Dorland
eric at moszumanska.debian.org
Mon Oct 19 03:11:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository engine-pkcs11.
commit 376ea607eb17a380750f0bbb6420e40acc471f67
Author: Andreas Jellinghaus <andreas at ionisiert.de>
Date: Thu Dec 1 19:44:55 2005 +0000
kill some dead code.
---
src/engine_pkcs11.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/engine_pkcs11.c b/src/engine_pkcs11.c
index 3d0bd07..987d318 100644
--- a/src/engine_pkcs11.c
+++ b/src/engine_pkcs11.c
@@ -176,9 +176,9 @@ static int hex_to_bin(const char *in, unsigned char *out, size_t * outlen)
while (*in != '\0') {
int byte = 0, nybbles = 2;
- char c;
while (nybbles-- && *in && *in != ':') {
+ char c;
byte <<= 4;
c = *in++;
if ('0' <= c && c <= '9')
@@ -203,7 +203,6 @@ static int hex_to_bin(const char *in, unsigned char *out, size_t * outlen)
}
out[count++] = (unsigned char) byte;
left--;
- c++;
}
*outlen = count;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/engine-pkcs11.git
More information about the pkg-opensc-commit
mailing list