diff --git a/apps/ca.c b/apps/ca.c index 42a3ac472b..07ef9ebb9d 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -689,7 +689,7 @@ bad: } extensions=CONF_get_string(conf,section,ENV_EXTENSIONS); - if(!extensions) { + if(extensions) { /* Check syntax of file */ if(!X509V3_EXT_add_conf(conf, NULL, extensions, NULL)) {