mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Reencode with X509_CRL_ctx_sign too.
This commit is contained in:
parent
96a4c31be3
commit
c71fdaed58
@ -131,6 +131,7 @@ int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md)
|
||||
|
||||
int X509_CRL_sign_ctx(X509_CRL *x, EVP_MD_CTX *ctx)
|
||||
{
|
||||
x->crl->enc.modified = 1;
|
||||
return ASN1_item_sign_ctx(ASN1_ITEM_rptr(X509_CRL_INFO),
|
||||
x->crl->sig_alg, x->sig_alg, x->signature, x->crl, ctx);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user