Remove the TEST_check macro.
[oweals/openssl.git] / test / testutil.h
index 1f3c19ff689e8659201f1d35cf2fa5b82dd965c5..7be9fb902e691bc84af3754170df37152f315d4a 100644 (file)
@@ -390,19 +390,6 @@ void test_perror(const char *s);
 # define TEST_openssl_errors test_openssl_errors
 # define TEST_perror         test_perror
 
-/*
- * For "impossible" conditions such as malloc failures or bugs in test code,
- * where continuing the test would be meaningless. Note that OPENSSL_assert
- * is fatal, and is never compiled out.
- */
-# define TEST_check(condition)                  \
-    do {                                        \
-        if (!(condition)) {                     \
-            TEST_openssl_errors();              \
-            OPENSSL_assert(!#condition);        \
-        }                                       \
-    } while (0)
-
 extern BIO *bio_out;
 extern BIO *bio_err;