diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-03-14 12:52:38 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-03-14 12:52:38 +0000 |
commit | 8d207ee3d1f52dbd96e0a14693cba3bb3e436af8 (patch) | |
tree | a29ab04d9720b8516e2d2c2befd108d79bbe095b /crypto/asn1/a_sign.c | |
parent | cdb182b55a15cd096475a1b65b40daeaa5aa91c6 (diff) | |
download | openssl-8d207ee3d1f52dbd96e0a14693cba3bb3e436af8.tar.gz |
add X509_CRL_sign_ctx function
Diffstat (limited to 'crypto/asn1/a_sign.c')
-rw-r--r-- | crypto/asn1/a_sign.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/asn1/a_sign.c b/crypto/asn1/a_sign.c index f1ec73a1e6..7b4a193d6b 100644 --- a/crypto/asn1/a_sign.c +++ b/crypto/asn1/a_sign.c @@ -224,13 +224,13 @@ int ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, EVP_MD_CTX_cleanup(&ctx); return 0; } - return ASN1_item_sign_ctx(&ctx, it, algor1, algor2, signature, asn); + return ASN1_item_sign_ctx(it, algor1, algor2, signature, asn, &ctx); } -int ASN1_item_sign_ctx(EVP_MD_CTX *ctx, - const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, - ASN1_BIT_STRING *signature, void *asn) +int ASN1_item_sign_ctx(const ASN1_ITEM *it, + X509_ALGOR *algor1, X509_ALGOR *algor2, + ASN1_BIT_STRING *signature, void *asn, EVP_MD_CTX *ctx) { const EVP_MD *type; EVP_PKEY *pkey; |