diff --git a/openssl-act-engine/src/engine_front.cpp b/openssl-act-engine/src/engine_front.cpp index 14a7813..2374940 100644 --- a/openssl-act-engine/src/engine_front.cpp +++ b/openssl-act-engine/src/engine_front.cpp @@ -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(signature), siglen, EXTRACT_CARD_KEY(rsa))); }