X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fgenrsa.c;h=515bd7c9017135667781a2c8cc4ba3ae2ba84d16;hp=5a58235e0c6b97d2e349f2a6619bd1c62a8c3976;hb=3647bee263ebfef8694f7df07498a17b03ad883d;hpb=e2aebccba1b7d5e02cfdb79d9bdce3d7f2b28dee diff --git a/apps/genrsa.c b/apps/genrsa.c index 5a58235e0c..515bd7c901 100644 --- a/apps/genrsa.c +++ b/apps/genrsa.c @@ -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");