aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1
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/asn1
parentb4e0ce516582b37317fe0470305c0350551fd0c5 (diff)
downloadopenssl-c162b132eb38e6a14938e23bc4bea207702c39c0.tar.gz
Automatically mark the CRL cached encoding as invalid when some operations
are performed.
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/x_crl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/asn1/x_crl.c b/crypto/asn1/x_crl.c
index e4d19183ca..b99f8fc522 100644
--- a/crypto/asn1/x_crl.c
+++ b/crypto/asn1/x_crl.c
@@ -130,6 +130,7 @@ int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev)
ASN1err(ASN1_F_X509_CRL_ADD0_REVOKED, ERR_R_MALLOC_FAILURE);
return 0;
}
+ inf->enc.modified = 1;
return 1;
}