]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/sha/sha1test.c
Have all tests use EXIT() to exit rather than exit(), since the latter doesn't
[thirdparty/openssl.git] / crypto / sha / sha1test.c
index 499a1cf5af0ea80f038173529aafa487263bbcd6..4f2e4ada2d25ea200b84d70b56045584e85e8e91 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,7 +157,7 @@ int main(int argc, char *argv[])
                }
        else
                printf("test 3 ok\n");
-       exit(err);
+       EXIT(err);
        EVP_MD_CTX_cleanup(&c);
        return(0);
        }