Process extensions when they are there.
diff --git a/apps/ca.c b/apps/ca.c
index 42a3ac4..07ef9eb 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -689,7 +689,7 @@
 			}
 
 		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)) {