Eh, -Wl,--whole-archive disappeared from the GNU targets. I've no
[openssl.git] / apps / gendh.c
index e8f8493c5f49ba9c42f2db522c8a7a7e55ec5861..f2542960bf28be2bb311a750fba474bd2490eb7d 100644 (file)
@@ -70,7 +70,6 @@
 #include <openssl/dh.h>
 #include <openssl/x509.h>
 #include <openssl/pem.h>
-#include <openssl/engine.h>
 
 #define DEFBITS        512
 #undef PROG
@@ -97,6 +96,9 @@ int MAIN(int argc, char **argv)
                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 end;
+
        argv++;
        argc--;
        for (;;)