summaryrefslogtreecommitdiffstats
path: root/crypto/evp/m_sigver.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/evp/m_sigver.c')
-rw-r--r--crypto/evp/m_sigver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/evp/m_sigver.c b/crypto/evp/m_sigver.c
index d98455eaad..f0b7f95059 100644
--- a/crypto/evp/m_sigver.c
+++ b/crypto/evp/m_sigver.c
@@ -179,8 +179,7 @@ int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, unsigned char *sig, size_t siglen)
unsigned int mdlen;
int vctx;
- /* FIXME: surely this should test verifyctx? (Ben 29/12/08) */
- if (ctx->pctx->pmeth->signctx)
+ if (ctx->pctx->pmeth->verifyctx)
vctx = 1;
else
vctx = 0;