Restore module loading
[openssl.git] / apps / cms.c
index 5293fbdc6d16ec523734f6a500ee8ad8e23e1b8a..7ccca5be9644ebacc5c049049a3832c1df3043ce 100644 (file)
@@ -664,12 +664,14 @@ int cms_main(int argc, char **argv)
     } else if (!operation)
         goto opthelp;
 
-
     if (!app_passwd(passinarg, NULL, &passin, NULL)) {
         BIO_printf(bio_err, "Error getting password\n");
         goto end;
     }
 
+    if (!app_load_modules(NULL))
+        goto end;
+
     if (need_rand) {
         app_RAND_load_file(NULL, (inrand != NULL));
         if (inrand != NULL)