diff options
author | Richard Levitte <levitte@openssl.org> | 2000-09-17 20:21:27 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-09-17 20:21:27 +0200 |
commit | 62324627aa3309e4f72e3ff0241801f4286fa242 (patch) | |
tree | bcc120d30197a60057eabeee2f438b214d0df73a /apps/nseq.c | |
parent | siglen is unsigned, so comparing it to less than 0 is silly, and (diff) | |
download | openssl-62324627aa3309e4f72e3ff0241801f4286fa242.tar.xz openssl-62324627aa3309e4f72e3ff0241801f4286fa242.zip |
Use sk_*_new_null() instead of sk_*_new(NULL), since that takes care
of complaints from the compiler about data pointers and function
pointers not being compatible with each other.
Diffstat (limited to 'apps/nseq.c')
-rw-r--r-- | apps/nseq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/nseq.c b/apps/nseq.c index cc88d50ceb..7210fbdb5e 100644 --- a/apps/nseq.c +++ b/apps/nseq.c @@ -123,7 +123,7 @@ int MAIN(int argc, char **argv) if (toseq) { seq = NETSCAPE_CERT_SEQUENCE_new(); - seq->certs = sk_X509_new(NULL); + seq->certs = sk_X509_new_null(); while((x509 = PEM_read_bio_X509(in, NULL, NULL, NULL))) sk_X509_push(seq->certs,x509); |