Add flag to disable config module DSO loading.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 15 Feb 2002 02:43:50 +0000 (02:43 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 15 Feb 2002 02:43:50 +0000 (02:43 +0000)
crypto/conf/conf_mod.c

index c548d0f27bb794fb53e80a07143721842ed378ba..b922f01ba7093f6d2e46633cf327c762b100d2e3 100644 (file)
@@ -197,7 +197,7 @@ static int module_run(const CONF *cnf, char *name, char *value,
        md = module_find(name);
 
        /* Module not found: try to load DSO */
-       if (!md)
+       if (!md && !(flags & CONF_MFLAGS_NO_DSO))
                md = module_load_dso(cnf, name, value, flags);
 
        if (!md)