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/crl2p7.c | |
parent | 426edadf98dfa465329dd1501e83b0cb0be2facb (diff) | |
download | openssl-6d114240b921edc9c1135568392199a652acd0db.tar.gz |
stack.
Diffstat (limited to 'apps/crl2p7.c')
-rw-r--r-- | apps/crl2p7.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/crl2p7.c b/apps/crl2p7.c index ba4eba16bf..f4b216f68b 100644 --- a/apps/crl2p7.c +++ b/apps/crl2p7.c @@ -92,7 +92,7 @@ int MAIN(int argc, char **argv) PKCS7_SIGNED *p7s = NULL; X509_CRL *crl=NULL; STACK *certflst=NULL; - STACK *crl_stack=NULL; + STACK_OF(X509_CRL) *crl_stack=NULL; STACK_OF(X509) *cert_stack=NULL; int ret=1,nocrl=0; @@ -213,11 +213,11 @@ bad: p7s->contents->type=OBJ_nid2obj(NID_pkcs7_data); if (!ASN1_INTEGER_set(p7s->version,1)) goto end; - if ((crl_stack=sk_new(NULL)) == NULL) goto end; + if ((crl_stack=sk_X509_CRL_new(NULL)) == NULL) goto end; p7s->crl=crl_stack; if (crl != NULL) { - sk_push(crl_stack,(char *)crl); + sk_X509_CRL_push(crl_stack,crl); crl=NULL; /* now part of p7 for Freeing */ } |