From bee555a604c8d5ac33a7f99d9a491c93d8484709 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 20 Nov 2017 13:49:55 +0100 Subject: fuzz: srp-client: restrict prime bits to 1537 [ci skip] That avoids timeouts in the oss-fuzz infrastructure: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3277 Signed-off-by: Nikos Mavrogiannopoulos --- fuzz/gnutls_srp_client_fuzzer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fuzz/gnutls_srp_client_fuzzer.c b/fuzz/gnutls_srp_client_fuzzer.c index 2434eaf228..8126caf691 100644 --- a/fuzz/gnutls_srp_client_fuzzer.c +++ b/fuzz/gnutls_srp_client_fuzzer.c @@ -65,6 +65,7 @@ int LLVMFuzzerTestOneInput(const uint8_t * data, size_t size) gnutls_transport_set_pull_timeout_function(session, mem_pull_timeout); gnutls_transport_set_ptr(session, &memdata); + gnutls_srp_set_prime_bits(session, 1537); do { res = gnutls_handshake(session); -- cgit v1.2.1