From: Dr. Stephen Henson Date: Fri, 3 May 2013 11:31:47 +0000 (+0100) Subject: Reencode with X509_CRL_ctx_sign too. X-Git-Tag: OpenSSL_1_0_2-beta1~346 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da0c0072549ee786da70c29a0fe43c79df27f33f;p=openssl Reencode with X509_CRL_ctx_sign too. (cherry picked from commit 96940f4f2d0300c033379a87db0ff19e598c6264) --- diff --git a/crypto/x509/x_all.c b/crypto/x509/x_all.c index 51d23f7d62..b2223ce93b 100644 --- a/crypto/x509/x_all.c +++ b/crypto/x509/x_all.c @@ -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); }