summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_skey.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x509v3/v3_skey.c')
-rw-r--r--crypto/x509v3/v3_skey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509v3/v3_skey.c b/crypto/x509v3/v3_skey.c
index 641104ab08..cf3521304d 100644
--- a/crypto/x509v3/v3_skey.c
+++ b/crypto/x509v3/v3_skey.c
@@ -126,7 +126,7 @@ static ASN1_OCTET_STRING *s2i_skey_id(X509V3_EXT_METHOD *method,
}
if (ctx->subject_req)
- pk = ctx->subject_req->req_info->pubkey->public_key;
+ pk = ctx->subject_req->req_info.pubkey->public_key;
else
pk = ctx->subject_cert->cert_info.key->public_key;