diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2004-12-09 14:35:06 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2004-12-09 14:35:06 +0100 |
commit | c162b132eb38e6a14938e23bc4bea207702c39c0 (patch) | |
tree | 14bf72f14c6ff81cbf4424c65dad5dca5f08ecd2 /crypto/x509/x_all.c | |
parent | SHA1 assembler for IA-64. (diff) | |
download | openssl-c162b132eb38e6a14938e23bc4bea207702c39c0.tar.xz openssl-c162b132eb38e6a14938e23bc4bea207702c39c0.zip |
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.c | 1 |
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)); } |