[pkg-opensc-commit] [pam-p11] 27/66: silence a warnung, #if 0 unused code.
Eric Dorland
eric at moszumanska.debian.org
Tue Jun 13 04:06:50 UTC 2017
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository pam-p11.
commit 549871f57795828f286f4f68571a54779ff3891e
Author: Andreas Jellinghaus <andreas at ionisiert.de>
Date: Fri Jun 29 14:36:45 2007 +0000
silence a warnung, #if 0 unused code.
---
src/base64.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/base64.c b/src/base64.c
index 3b4f96d..15b8821 100644
--- a/src/base64.c
+++ b/src/base64.c
@@ -23,6 +23,8 @@
#include <stdio.h>
#include <assert.h>
+extern int sc_base64_decode(const char *in, unsigned char *out, size_t outlen);
+
static const unsigned char base64_table[66] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" "0123456789+/=";
@@ -91,6 +93,7 @@ static int from_base64(const char *in, unsigned int *out, int *skip)
return c * 6 / 8;
}
+#if 0
int sc_base64_encode(const unsigned char *in, size_t len, unsigned char *out,
size_t outlen, size_t linelength)
{
@@ -143,6 +146,7 @@ int sc_base64_encode(const unsigned char *in, size_t len, unsigned char *out,
return 0;
}
+#endif
int sc_base64_decode(const char *in, unsigned char *out, size_t outlen)
{
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/pam-p11.git
More information about the pkg-opensc-commit
mailing list