Fix ciphersuite handling during an HRR
[openssl.git] / fuzz / client.c
index 5723e4f1ba391e09e0c3f90ce0b5a40fae5de8f9..8c316216450f23489369b7d1853d79ba31a912b9 100644 (file)
@@ -37,9 +37,15 @@ int FuzzerInitialize(int *argc, char ***argv)
     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);