diff options
author | Ben Laurie <ben@openssl.org> | 1999-05-31 21:00:25 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-05-31 21:00:25 +0000 |
commit | 6d114240b921edc9c1135568392199a652acd0db (patch) | |
tree | 9803be8834ce0ece90db3798ea9cf959c91107ed /apps/pkcs7.c | |
parent | 426edadf98dfa465329dd1501e83b0cb0be2facb (diff) | |
download | openssl-6d114240b921edc9c1135568392199a652acd0db.tar.gz |
stack.
Diffstat (limited to 'apps/pkcs7.c')
-rw-r--r-- | apps/pkcs7.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/pkcs7.c b/apps/pkcs7.c index 24b3e57882..9518983d5d 100644 --- a/apps/pkcs7.c +++ b/apps/pkcs7.c @@ -222,7 +222,7 @@ bad: if (print_certs) { STACK_OF(X509) *certs=NULL; - STACK *crls=NULL; + STACK_OF(X509_CRL) *crls=NULL; i=OBJ_obj2nid(p7->type); switch (i) @@ -266,9 +266,9 @@ bad: { X509_CRL *crl; - for (i=0; i<sk_num(crls); i++) + for (i=0; i<sk_X509_CRL_num(crls); i++) { - crl=(X509_CRL *)sk_value(crls,i); + crl=sk_X509_CRL_value(crls,i); X509_NAME_oneline(crl->crl->issuer,buf,256); BIO_puts(out,"issuer= "); |