提交 1297ef99 编写于 作者: D Dr. Stephen Henson

Fix build with no-threads no-ec

Reviewed-by: NRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3817)
上级 b5319bdb
......@@ -8,6 +8,7 @@
*/
#include <openssl/crypto.h>
#include <internal/cryptlib.h>
#if !defined(OPENSSL_THREADS) || defined(CRYPTO_TDEBUG)
......
......@@ -13,6 +13,7 @@
#include <string.h>
#include <openssl/opensslconf.h> /* To see if OPENSSL_NO_EC is defined */
# include "testutil.h"
#ifndef OPENSSL_NO_EC
......@@ -26,7 +27,6 @@
# endif
# include <openssl/err.h>
# include <openssl/rand.h>
# include "testutil.h"
static const char rnd_seed[] =
"string to make the random number generator think it has randomness";
......@@ -394,6 +394,7 @@ static int test_builtin(void)
return ret;
}
#endif
void register_tests(void)
{
......@@ -406,4 +407,3 @@ void register_tests(void)
ADD_TEST(test_builtin);
#endif
}
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册