mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
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:
parent
a5d8a2f8f1
commit
574246ae02
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user