Config code updates.
[openssl.git] / apps / genrsa.c
index 5a58235e0c6b97d2e349f2a6619bd1c62a8c3976..515bd7c9017135667781a2c8cc4ba3ae2ba84d16 100644 (file)
@@ -99,6 +99,9 @@ int MAIN(int argc, char **argv)
        if (bio_err == NULL)
                if ((bio_err=BIO_new(BIO_s_file())) != NULL)
                        BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
+
+       if (!load_config(bio_err, NULL))
+               goto err;
        if ((out=BIO_new(BIO_s_file())) == NULL)
                {
                BIO_printf(bio_err,"unable to create BIO for output\n");