Use apps_shutdown() in all applications, in case someone decides not
[oweals/openssl.git] / apps / version.c
index c29343b4fa7f5d8706ba9341e53f0448011f8347..65b5935c9c5922fa3bea1c073171882d24820e50 100644 (file)
@@ -111,19 +111,19 @@ int MAIN(int argc, char **argv)
                {
                printf("options:  ");
                printf("%s ",BN_options());
-#ifndef NO_MD2
+#ifndef OPENSSL_NO_MD2
                printf("%s ",MD2_options());
 #endif
-#ifndef NO_RC4
+#ifndef OPENSSL_NO_RC4
                printf("%s ",RC4_options());
 #endif
-#ifndef NO_DES
+#ifndef OPENSSL_NO_DES
                printf("%s ",des_options());
 #endif
-#ifndef NO_IDEA
+#ifndef OPENSSL_NO_IDEA
                printf("%s ",idea_options());
 #endif
-#ifndef NO_BF
+#ifndef OPENSSL_NO_BF
                printf("%s ",BF_options());
 #endif
                printf("\n");
@@ -131,5 +131,6 @@ int MAIN(int argc, char **argv)
        if (cflags)  printf("%s\n",SSLeay_version(SSLEAY_CFLAGS));
        if (dir)  printf("%s\n",SSLeay_version(SSLEAY_DIR));
 end:
+       apps_shutdown();
        EXIT(ret);
        }