Stop spurious "unable to load config info" errors in req
[openssl.git] / apps / dhparam.c
index 51aee97d258a23819b3a0de5975d8468fcac1065..e55d0ce0cbbcc8a268c2f9bb86e24b2d0a5db8e4 100644 (file)
 #include <openssl/dh.h>
 #include <openssl/x509.h>
 #include <openssl/pem.h>
-#include <openssl/engine.h>
 
 #ifndef OPENSSL_NO_DSA
 #include <openssl/dsa.h>
@@ -516,6 +515,7 @@ end:
        if (in != NULL) BIO_free(in);
        if (out != NULL) BIO_free_all(out);
        if (dh != NULL) DH_free(dh);
+       apps_shutdown();
        EXIT(ret);
        }