some minor changes; refs #8

This commit is contained in:
Marc Wäckerlin
2011-01-11 11:55:51 +00:00
parent 30e4415861
commit b13ced5561

View File

@@ -170,7 +170,7 @@ static int sct_rsa_verify(int type,
const unsigned char *msg, unsigned int msglen,
const unsigned char *signature, unsigned int siglen, const RSA *rsa)
{
CATCH_ALL(int,0,g_engine->rsa_verify(type, msg, msglen, signature, siglen, EXTRACT_CARD_KEY(rsa)));
CATCH_ALL(int,0,g_engine->rsa_verify(type, msg, msglen, const_cast<unsigned char *>(signature), siglen, EXTRACT_CARD_KEY(rsa)));
}