some minor changes; refs #8
This commit is contained in:
@@ -170,7 +170,7 @@ static int sct_rsa_verify(int type,
|
|||||||
const unsigned char *msg, unsigned int msglen,
|
const unsigned char *msg, unsigned int msglen,
|
||||||
const unsigned char *signature, unsigned int siglen, const RSA *rsa)
|
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)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user