From: Dr. Stephen Henson Date: Thu, 1 Oct 2009 12:17:18 +0000 (+0000) Subject: Yes it is a typo ;-) X-Git-Tag: OpenSSL_1_0_0-beta4~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7501c16bf3933ba4e1e0851ccf45384eeb7e2d0;p=openssl Yes it is a typo ;-) --- 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;