aboutsummaryrefslogtreecommitdiffstats
path: root/apps/apps.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-09-17 18:21:27 +0000
committerRichard Levitte <levitte@openssl.org>2000-09-17 18:21:27 +0000
commit62324627aa3309e4f72e3ff0241801f4286fa242 (patch)
treebcc120d30197a60057eabeee2f438b214d0df73a /apps/apps.c
parent623eea376a7bff6d50c88407c10f279e6f838de4 (diff)
downloadopenssl-62324627aa3309e4f72e3ff0241801f4286fa242.tar.gz
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/apps.c')
-rw-r--r--apps/apps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/apps.c b/apps/apps.c
index e5a42d4d97..c22550b294 100644
--- a/apps/apps.c
+++ b/apps/apps.c
@@ -660,7 +660,7 @@ STACK_OF(X509) *load_certs(BIO *err, char *file, int format)
if (format == FORMAT_PEM)
{
- othercerts = sk_X509_new(NULL);
+ othercerts = sk_X509_new_null();
if(!othercerts)
{
sk_X509_free(othercerts);