Stop spurious "unable to load config info" errors in req
[openssl.git] / apps / gendsa.c
index 57ef0da46d99e96dc617538aee588d5b14efec21..6b741429911c2b34ad1f3d3a6349eef6b9d44385 100644 (file)
@@ -68,7 +68,6 @@
 #include <openssl/dsa.h>
 #include <openssl/x509.h>
 #include <openssl/pem.h>
-#include <openssl/engine.h>
 
 #define DEFBITS        512
 #undef PROG
@@ -231,6 +230,7 @@ end:
        if (out != NULL) BIO_free_all(out);
        if (dsa != NULL) DSA_free(dsa);
        if(passout) OPENSSL_free(passout);
+       apps_shutdown();
        EXIT(ret);
        }
 #endif