[pkg-opensc-commit] [libp11] 168/239: Fix openssl interface incompatibility, trivial const

Eric Dorland eric at moszumanska.debian.org
Sat Oct 17 06:21:28 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 7ad11e610be8f009ce84168bd69d3d07e4357752
Author: Alon Bar-Lev <alon.barlev at gmail.com>
Date:   Wed Dec 14 11:07:36 2011 +0000

    Fix openssl interface incompatibility, trivial const
---
 src/p11_rsa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/p11_rsa.c b/src/p11_rsa.c
index 2d89e9a..f555bc0 100644
--- a/src/p11_rsa.c
+++ b/src/p11_rsa.c
@@ -121,7 +121,7 @@ static int pkcs11_rsa_sign(int type, const unsigned char *m, unsigned int m_len,
  */
 static int
 pkcs11_rsa_verify(int type, const unsigned char *m, unsigned int m_len,
-		  unsigned char *signature, unsigned int siglen, const RSA * rsa)
+		  const unsigned char *signature, unsigned int siglen, const RSA * rsa)
 {
 	RSA *r = (RSA *) rsa;	/* Ugly hack to get rid of compiler warning */
 	int res;

-- 
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