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)
This commit is contained in:
Dr. David von Oheimb 2021-07-12 15:30:20 +02:00 committed by Tomas Mraz
parent a5d8a2f8f1
commit 574246ae02

View File

@ -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;
@ -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