diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-09-15 17:10:51 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-09-16 22:17:39 +0100 |
commit | 2869e79f421bb8d350500cddfd87fdf5d40cd4ba (patch) | |
tree | 72f072843eb2afcaae558e5746bda53121c560c2 /crypto/x509/x509_r2x.c | |
parent | de17bd5d7f8286d8b1f0a04a3f8f5782033f5ebd (diff) |
Change X509_VAL in X509 structure to embedded.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509/x509_r2x.c')
-rw-r--r-- | crypto/x509/x509_r2x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509/x509_r2x.c b/crypto/x509/x509_r2x.c index abf75cdb7a..5d576e91e5 100644 --- a/crypto/x509/x509_r2x.c +++ b/crypto/x509/x509_r2x.c @@ -95,9 +95,9 @@ X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) if (X509_set_issuer_name(ret, X509_NAME_dup(xn)) == 0) goto err; - if (X509_gmtime_adj(xi->validity->notBefore, 0) == NULL) + if (X509_gmtime_adj(xi->validity.notBefore, 0) == NULL) goto err; - if (X509_gmtime_adj(xi->validity->notAfter, (long)60 * 60 * 24 * days) == + if (X509_gmtime_adj(xi->validity.notAfter, (long)60 * 60 * 24 * days) == NULL) goto err; |