File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 382382#endif
383383#include <wolfssl/certs_test.h>
384384
385- #define WOLFSSL_TEST_UTILS_INCLUDED
386- #include "tests/utils.c"
385+ #include "tests/utils.h"
387386
388387#ifndef WOLFSSL_HAVE_ECC_KEY_GET_PRIV
389388 /* FIPS build has replaced ecc.h. */
Original file line number Diff line number Diff line change @@ -70,5 +70,5 @@ EXTRA_DIST += tests/unit.h \
7070 tests/NCONF_test.cnf \
7171 tests/test-tls-downgrade.conf \
7272 tests/TXT_DB.txt \
73- tests/utils.c
73+ tests/utils.h
7474DISTCLEANFILES+= tests/.libs/unit.test
Original file line number Diff line number Diff line change 1- /* utils.c
1+ /* utils.h
22 *
33 * Copyright (C) 2006-2023 wolfSSL Inc.
44 *
2525#include <wolfssl/wolfcrypt/settings.h>
2626#include <tests/unit.h>
2727
28- #if !defined(WOLFSSL_TEST_UTILS_INCLUDED )
29- #ifndef WOLFSSL_IGNORE_FILE_WARN
30- #warning utils.c does not need to be compiled separately
31- #endif
32- #else
33-
3428#ifndef NO_FILESYSTEM
3529
3630#ifdef _MSC_VER
@@ -365,5 +359,3 @@ void join_thread(THREAD_TYPE thread)
365359 THREAD_CHECK_RET (wolfSSL_JoinThread (thread ));
366360}
367361#endif /* SINGLE_THREADED */
368-
369- #endif /* WOLFSSL_TEST_UTILS_INCLUDED */
Original file line number Diff line number Diff line change 4545#include <examples/server/server.h>
4646#include <examples/client/client.h>
4747
48- #define WOLFSSL_TEST_UTILS_INCLUDED
49- #include "tests/utils.c"
48+ #include "tests/utils.h"
5049
5150#ifndef NO_SHA256
5251void file_test (const char * file , byte * check );
You can’t perform that action at this time.
0 commit comments