summaryrefslogtreecommitdiffstats
path: root/apps/spkac.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-10-30 11:18:04 +0000
committerMatt Caswell <matt@openssl.org>2015-11-09 22:48:41 +0000
commit96487cddd408e247819c4f122bd86e53ae4bd6c0 (patch)
treef6b424b2ce4d1d6ae2604b26d9fb956e13f932a2 /apps/spkac.c
parent90945fa31a42dcf3beb90540c618e4d627c595ea (diff)
Continue standardisation of malloc handling in apps
continue on from previous commits but in the apps directory Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Diffstat (limited to 'apps/spkac.c')
-rw-r--r--apps/spkac.c2
1 files changed, 1 insertions, 1 deletions
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;