summaryrefslogtreecommitdiffstats
path: root/crypto/evp/m_sigver.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-11-14 22:00:40 +0100
committerDr. Stephen Henson <steve@openssl.org>2013-11-14 22:05:36 +0100
commit0f7fa1b1904d0f5e997f0b150321ef6d3492651b (patch)
treeae2ec415f9cec89611c60fabd9b7f5f33b9be216 /crypto/evp/m_sigver.c
parentFix compilation with no-nextprotoneg. (diff)
downloadopenssl-0f7fa1b1904d0f5e997f0b150321ef6d3492651b.tar.xz
openssl-0f7fa1b1904d0f5e997f0b150321ef6d3492651b.zip
Constify.
(cherry picked from commit 1abfa78a8ba714f7e47bd674db53dbe303cd1ce7)
Diffstat (limited to 'crypto/evp/m_sigver.c')
-rw-r--r--crypto/evp/m_sigver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/evp/m_sigver.c b/crypto/evp/m_sigver.c
index 9f83d3e25f..bc5e132c59 100644
--- a/crypto/evp/m_sigver.c
+++ b/crypto/evp/m_sigver.c
@@ -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;