summaryrefslogtreecommitdiffstats
path: root/fuzz/client.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2017-04-07 18:07:42 +0200
committerRich Salz <rsalz@openssl.org>2017-04-07 18:19:46 +0200
commit076fc55527a1499391fa6de109c8387895199ee9 (patch)
tree8a7d5eba7a2baf36080d6f4925dee48157a2e304 /fuzz/client.c
parentFix rand_lib.c for no-engine configuration (diff)
downloadopenssl-076fc55527a1499391fa6de109c8387895199ee9.tar.xz
openssl-076fc55527a1499391fa6de109c8387895199ee9.zip
Make default_method mostly compile-time
Document thread-safety issues Have RSA_null return NULL (always fails) Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2244)
Diffstat (limited to 'fuzz/client.c')
-rw-r--r--fuzz/client.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/fuzz/client.c b/fuzz/client.c
index 8c31621645..9404a95a68 100644
--- a/fuzz/client.c
+++ b/fuzz/client.c
@@ -36,16 +36,6 @@ int FuzzerInitialize(int *argc, char ***argv)
idx = SSL_get_ex_data_X509_STORE_CTX_idx();
RAND_add("", 1, ENTROPY_NEEDED);
RAND_status();
- RSA_get_default_method();
-#ifndef OPENSSL_NO_DSA
- DSA_get_default_method();
-#endif
-#ifndef OPENSSL_NO_EC
- EC_KEY_get_default_method();
-#endif
-#ifndef OPENSSL_NO_DH
- DH_get_default_method();
-#endif
comp_methods = SSL_COMP_get_compression_methods();
OPENSSL_sk_sort((OPENSSL_STACK *)comp_methods);