summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509_r2x.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-09-16 18:46:16 +0100
committerDr. Stephen Henson <steve@openssl.org>2015-09-16 22:33:25 +0100
commit95ed0e7c1f4206191c1b0288e352010e70e252db (patch)
tree69a21e3207ae88e33cf26812dd711081b3e5ee13 /crypto/x509/x509_r2x.c
parent5cf6abd805b9f15127f9f343a6e3b662565f93d5 (diff)
Embed X509_REQ_INFO
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509/x509_r2x.c')
-rw-r--r--crypto/x509/x509_r2x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_r2x.c b/crypto/x509/x509_r2x.c
index 00f772a373..c5c58f5fd3 100644
--- a/crypto/x509/x509_r2x.c
+++ b/crypto/x509/x509_r2x.c
@@ -80,7 +80,7 @@ X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey)
/* duplicate the request */
xi = &ret->cert_info;
- if (sk_X509_ATTRIBUTE_num(r->req_info->attributes) != 0) {
+ if (sk_X509_ATTRIBUTE_num(r->req_info.attributes) != 0) {
if ((xi->version = ASN1_INTEGER_new()) == NULL)
goto err;
if (!ASN1_INTEGER_set(xi->version, 2))