summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x_all.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2004-12-09 13:35:06 +0000
committerDr. Stephen Henson <steve@openssl.org>2004-12-09 13:35:06 +0000
commitc162b132eb38e6a14938e23bc4bea207702c39c0 (patch)
tree14bf72f14c6ff81cbf4424c65dad5dca5f08ecd2 /crypto/x509/x_all.c
parentb4e0ce516582b37317fe0470305c0350551fd0c5 (diff)
Automatically mark the CRL cached encoding as invalid when some operations
are performed.
Diffstat (limited to 'crypto/x509/x_all.c')
-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 eb33e0f6e6..4701959b1e 100644
--- a/crypto/x509/x_all.c
+++ b/crypto/x509/x_all.c
@@ -105,6 +105,7 @@ int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md)
int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md)
{
+ x->crl->enc.modified = 1;
return(ASN1_item_sign(ASN1_ITEM_rptr(X509_CRL_INFO),x->crl->sig_alg,
x->sig_alg, x->signature, x->crl,pkey,md));
}