From 96487cddd408e247819c4f122bd86e53ae4bd6c0 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Fri, 30 Oct 2015 11:18:04 +0000 Subject: Continue standardisation of malloc handling in apps continue on from previous commits but in the apps directory Reviewed-by: Kurt Roeckx --- apps/spkac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/spkac.c') diff --git a/apps/spkac.c b/apps/spkac.c index eaeb3c15d0..9cbe7fe2e8 100644 --- a/apps/spkac.c +++ b/apps/spkac.c @@ -189,7 +189,7 @@ int spkac_main(int argc, char **argv) spkstr = NCONF_get_string(conf, spksect, spkac); - if (!spkstr) { + if (spkstr == NULL) { BIO_printf(bio_err, "Can't find SPKAC called \"%s\"\n", spkac); ERR_print_errors(bio_err); goto end; -- cgit v1.2.3