summaryrefslogtreecommitdiffstats
path: root/crypto/ec
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-10-03 18:56:25 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-10-03 18:56:25 +0000
commit945ba0300dba473f4215bd436031ec81e3f70911 (patch)
tree9844d8b5f1f9ae2c532191a6826478eb0cfd6135 /crypto/ec
parent9e15cc606e47bf86dc619e3ed03dd2afaab38cb2 (diff)
Add call to ENGINE_register_all_complete() to ENGINE_load_builtin_engines(),
this means that some implementations will be used automatically, e.g. aesni, we do this for cryptodev anyway. Setup cpuid in ENGINE_load_builtin_engines() too as some ENGINEs use it.
Diffstat (limited to 'crypto/ec')
-rw-r--r--crypto/ec/ectest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/ec/ectest.c b/crypto/ec/ectest.c
index bed3b096b0..834d54ab59 100644
--- a/crypto/ec/ectest.c
+++ b/crypto/ec/ectest.c
@@ -234,7 +234,7 @@ static void group_order_tests(EC_GROUP *group)
BN_CTX_free(ctx);
}
-void prime_field_tests()
+static void prime_field_tests()
{
BN_CTX *ctx = NULL;
BIGNUM *p, *a, *b;
@@ -777,7 +777,7 @@ void prime_field_tests()
if (!EC_GROUP_copy(_variable, group)) ABORT; \
-void char2_field_tests()
+static void char2_field_tests()
{
BN_CTX *ctx = NULL;
BIGNUM *p, *a, *b;
@@ -1211,7 +1211,7 @@ void char2_field_tests()
}
-void internal_curve_test(void)
+static void internal_curve_test(void)
{
EC_builtin_curve *curves = NULL;
size_t crv_len = 0, n = 0;