summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-03-07 15:37:37 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-03-07 15:37:37 +0000
commit9ef6fe8c2e9d67ede553a6ce9e154b179600ede5 (patch)
tree6f44ea8e4dccb534b88ecda6735630c766a277f8
parent63b825c9d46ca3cdbb6ee5f0763d08a734b80e4e (diff)
typo
-rw-r--r--crypto/asn1/a_sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/a_sign.c b/crypto/asn1/a_sign.c
index 018edaead7..27deb89137 100644
--- a/crypto/asn1/a_sign.c
+++ b/crypto/asn1/a_sign.c
@@ -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))
{