Yes it is a typo ;-)
authorDr. Stephen Henson <steve@openssl.org>
Thu, 1 Oct 2009 12:17:18 +0000 (12:17 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 1 Oct 2009 12:17:18 +0000 (12:17 +0000)
crypto/evp/m_sigver.c

index d98455eaad97f9b682f87a330ad9a420e83970af..f0b7f95059e75f9e0f8e3aa57a898b57f23baa20 100644 (file)
@@ -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;