From 77e749405da74776f27d0bda28b512ae4624a55b Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 2 Apr 2009 17:39:25 +0000 Subject: [PATCH] Fix demo program. --- demos/pkcs12/pkread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/pkcs12/pkread.c b/demos/pkcs12/pkread.c index 8e1b686312..02e16cda2a 100644 --- a/demos/pkcs12/pkread.c +++ b/demos/pkcs12/pkread.c @@ -51,7 +51,7 @@ int main(int argc, char **argv) fprintf(fp, "***User Certificate***\n"); PEM_write_X509_AUX(fp, cert); } - if (ca && sk_num(ca)) { + if (ca && sk_X509_num(ca)) { fprintf(fp, "***Other Certificates***\n"); for (i = 0; i < sk_X509_num(ca); i++) PEM_write_X509_AUX(fp, sk_X509_value(ca, i)); -- 2.25.1