[pkg-opensc-commit] [libp11] 104/239: fix another warning.
Eric Dorland
eric at moszumanska.debian.org
Sat Oct 17 06:21:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository libp11.
commit 91c8d7462cefb4fd262d2c0a1f46aa531d931bb1
Author: Andreas Jellinghaus <andreas at ionisiert.de>
Date: Fri Jun 29 14:16:51 2007 +0000
fix another warning.
---
src/p11_cert.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/p11_cert.c b/src/p11_cert.c
index 6d77213..9908568 100644
--- a/src/p11_cert.c
+++ b/src/p11_cert.c
@@ -168,7 +168,7 @@ static int pkcs11_init_cert(PKCS11_CTX * ctx, PKCS11_TOKEN * token,
cert->label = BUF_strdup(label);
size = sizeof(data);
if (!pkcs11_getattr_var(token, obj, CKA_VALUE, data, &size)) {
- unsigned char *p = (unsigned char *) data;
+ const unsigned char *p = (unsigned char *) data;
cert->x509 = d2i_X509(NULL, &p, size);
}
--
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