aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/x509/x_all.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/x509/x_all.c')
-rw-r--r--openssl/crypto/x509/x_all.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl/crypto/x509/x_all.c b/openssl/crypto/x509/x_all.c
index ebae30b70..8ec88c215 100644
--- a/openssl/crypto/x509/x_all.c
+++ b/openssl/crypto/x509/x_all.c
@@ -90,6 +90,7 @@ int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *a, EVP_PKEY *r)
int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md)
{
+ x->cert_info->enc.modified = 1;
return(ASN1_item_sign(ASN1_ITEM_rptr(X509_CINF), x->cert_info->signature,
x->sig_alg, x->signature, x->cert_info,pkey,md));
}