diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2017-01-05 20:18:29 +0100 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2017-01-06 18:27:00 +0100 |
commit | 76d1ba3a7a52c7a261ff9df81af8bb13e5e07716 (patch) | |
tree | 5d58c9c4225dc68039f3f1cf5a0a0534df7d0a79 /fuzz/server.c | |
parent | Make the bignum fuzzer reproducible (diff) | |
download | openssl-76d1ba3a7a52c7a261ff9df81af8bb13e5e07716.tar.xz openssl-76d1ba3a7a52c7a261ff9df81af8bb13e5e07716.zip |
Make client and server fuzzer reproducible
Reviewed-by: Rich Salz <rsalz@openssl.org>
GH: #2182
Diffstat (limited to 'fuzz/server.c')
-rw-r--r-- | fuzz/server.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fuzz/server.c b/fuzz/server.c index 9e2d28be77..e7047dbfe6 100644 --- a/fuzz/server.c +++ b/fuzz/server.c @@ -16,6 +16,9 @@ #include <openssl/rand.h> #include <openssl/ssl.h> #include <openssl/rsa.h> +#include <openssl/dsa.h> +#include <openssl/ec.h> +#include <openssl/dh.h> #include <openssl/err.h> #include "fuzzer.h" @@ -478,6 +481,9 @@ int FuzzerInitialize(int *argc, char ***argv) RAND_add("", 1, ENTROPY_NEEDED); RAND_status(); RSA_get_default_method(); + DSA_get_default_method(); + EC_KEY_get_default_method(); + DH_get_default_method(); comp_methods = SSL_COMP_get_compression_methods(); OPENSSL_sk_sort((OPENSSL_STACK *)comp_methods); |