summaryrefslogtreecommitdiff
path: root/crypto/pem/pem_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/pem/pem_info.c')
-rw-r--r--crypto/pem/pem_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pem/pem_info.c b/crypto/pem/pem_info.c
index c8980bb56f..489e71a892 100644
--- a/crypto/pem/pem_info.c
+++ b/crypto/pem/pem_info.c
@@ -225,7 +225,7 @@ start:
if ((xi->x_pkey->dec_pkey=EVP_PKEY_new()) == NULL)
goto err;
xi->x_pkey->dec_pkey->type=EVP_PKEY_EC;
- pp=&(xi->x_pkey->dec_pkey->pkey.eckey);
+ pp=&(xi->x_pkey->dec_pkey->pkey.ec);
if ((int)strlen(header) > 10) /* assume encrypted */
raw=1;
}