Constify.
[openssl.git] / crypto / evp / m_sigver.c
index 9f83d3e..bc5e132 100644 (file)
@@ -205,7 +205,8 @@ int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, size_t *siglen)
        return 1;
        }
 
-int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, unsigned char *sig, size_t siglen)
+int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sig,
+                                                               size_t siglen)
        {
        unsigned char md[EVP_MAX_MD_SIZE];
        int r;