summaryrefslogtreecommitdiffstats
path: root/apps/x509.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/x509.c')
-rw-r--r--apps/x509.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/x509.c b/apps/x509.c
index f4198d97be..72d104bf09 100644
--- a/apps/x509.c
+++ b/apps/x509.c
@@ -738,14 +738,14 @@ bad:
else if ((email == i) || (ocsp_uri == i))
{
int j;
- STACK_OF(STRING) *emlst;
+ STACK_OF(OPENSSL_STRING) *emlst;
if (email == i)
emlst = X509_get1_email(x);
else
emlst = X509_get1_ocsp(x);
- for (j = 0; j < sk_STRING_num(emlst); j++)
+ for (j = 0; j < sk_OPENSSL_STRING_num(emlst); j++)
BIO_printf(STDout, "%s\n",
- sk_STRING_value(emlst, j));
+ sk_OPENSSL_STRING_value(emlst, j));
X509_email_free(emlst);
}
else if (aliasout == i)