提交 9ef6fe8c 编写于 作者: D Dr. Stephen Henson

typo

上级 63b825c9
......@@ -270,7 +270,7 @@ int ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2,
goto err;
}
if (!EVP_DigestVerifyInit(&ctx, NULL, type, NULL, pkey)
if (!EVP_DigestSignInit(&ctx, NULL, type, NULL, pkey)
|| !EVP_DigestSignUpdate(&ctx, buf_in, inl)
|| !EVP_DigestSignFinal(&ctx, buf_out, &outl))
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册