diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-07-12 15:30:20 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-09-24 16:35:05 +0200 |
commit | 574246ae02a206b49957b63b0d4f53992e855e13 (patch) | |
tree | f14052d567ccafd137ae4901a7c32792e33eddd5 /test/cmp_client_test.c | |
parent | a5d8a2f8f10b83e5afb297698fe72cee77b1837f (diff) |
cmp_client_test.c: Remove needless dependency on NDEBUG
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16052)
Diffstat (limited to 'test/cmp_client_test.c')
-rw-r--r-- | test/cmp_client_test.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/test/cmp_client_test.c b/test/cmp_client_test.c index f470f5e445..f4f664a49e 100644 --- a/test/cmp_client_test.c +++ b/test/cmp_client_test.c @@ -13,8 +13,6 @@ #include "cmp_mock_srv.h" -#ifndef NDEBUG /* tests need mock server, which is available only if !NDEBUG */ - static const char *server_key_f; static const char *server_cert_f; static const char *client_key_f; @@ -344,7 +342,7 @@ void cleanup_tests(void) return; } -# define USAGE "server.key server.crt client.key client.crt client.csr module_name [module_conf_file]\n" +#define USAGE "server.key server.crt client.key client.crt client.csr module_name [module_conf_file]\n" OPT_TEST_DECLARE_USAGE(USAGE) int setup_tests(void) @@ -391,13 +389,3 @@ int setup_tests(void) ADD_TEST(test_exchange_error); return 1; } - -#else /* !defined (NDEBUG) */ - -int setup_tests(void) -{ - TEST_note("CMP session tests are disabled in this build (NDEBUG)."); - return 1; -} - -#endif |