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

index d98455e..f0b7f95 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;