Config code updates.
[openssl.git] / apps / smime.c
index 731f9dd5d043cf392fa984d35d438bc840ec70f4..cd750e32b7cb9d157719f787fdad9e6f6dffc58e 100644 (file)
@@ -109,6 +109,9 @@ int MAIN(int argc, char **argv)
        args = argv + 1;
        ret = 1;
 
+       if (!load_config(bio_err, NULL))
+               goto end;
+
        while (!badarg && *args && *args[0] == '-') {
                if (!strcmp (*args, "-encrypt")) operation = SMIME_ENCRYPT;
                else if (!strcmp (*args, "-decrypt")) operation = SMIME_DECRYPT;