This commits the changes to STACK macros forced by recent ENGINE surgery.
[openssl.git] / apps / gendh.c
index 14928d84a3e724b9378ed462463092a9515c5a41..83cbff912007705bc469a81b58c9f7f1766ca341 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
@@ -195,6 +194,7 @@ end:
                ERR_print_errors(bio_err);
        if (out != NULL) BIO_free_all(out);
        if (dh != NULL) DH_free(dh);
+       apps_shutdown();
        EXIT(ret);
        }