summaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-05-03 12:31:47 +0100
committerDr. Stephen Henson <steve@openssl.org>2013-05-03 13:06:18 +0100
commitcbd93a0636ea586e032bb55418a8d38773683be9 (patch)
treec6f1521dba9f1e970bb4467d09fd3819a077fab0 /crypto/x509
parentb9e84f007f8985c60d66b42fa666c6fb7b3919a2 (diff)
Reencode with X509_CRL_ctx_sign too.
(cherry picked from commit 96940f4f2d0300c033379a87db0ff19e598c6264)
Diffstat (limited to 'crypto/x509')
-rw-r--r--crypto/x509/x_all.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/x509/x_all.c b/crypto/x509/x_all.c
index 27dc215c75..e06602d65a 100644
--- a/crypto/x509/x_all.c
+++ b/crypto/x509/x_all.c
@@ -124,6 +124,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);
}