Kill unused macro and reimplement it for that single context it can
[openssl.git] / crypto / sha / shatest.c
index 331294a74f91f9c81ca504b7461ad40ad6d3c349..0e026c1245dc64703b6ef67c43ec9aff36218f78 100644 (file)
@@ -60,6 +60,8 @@
 #include <string.h>
 #include <stdlib.h>
 
+#include "../e_os.h"
+
 #ifdef OPENSSL_NO_SHA
 int main(int argc, char *argv[])
 {
@@ -155,8 +157,11 @@ int main(int argc, char *argv[])
                }
        else
                printf("test 3 ok\n");
-       EVP_MD_CTX_cleanup(&c);
-       exit(err);
+
+#ifdef OPENSSL_SYS_NETWARE
+    if (err) printf("ERROR: %d\n", err);
+#endif
+       EXIT(err);
        return(0);
        }