From: Nikos Mavrogiannopoulos Date: Fri, 8 Apr 2016 12:13:26 +0000 (+0200) Subject: tests: reduce the number of loops in x509sign-verify2 X-Git-Tag: gnutls_3_5_0~194 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba63644ee8fbcecfcb1093b52775c45929b4f675;p=thirdparty%2Fgnutls.git tests: reduce the number of loops in x509sign-verify2 This enables running the test in reasonable time under valgrind. --- diff --git a/tests/x509sign-verify2.c b/tests/x509sign-verify2.c index 58395699e7..157305e60f 100644 --- a/tests/x509sign-verify2.c +++ b/tests/x509sign-verify2.c @@ -99,7 +99,7 @@ void test_sig(gnutls_pk_algorithm_t pk, unsigned hash, unsigned bits) sign_algo = gnutls_pk_to_sign(pk, hash); - for (j = 0; j < 1200; j++) { + for (j = 0; j < 100; j++) { ret = gnutls_pubkey_init(&pubkey); if (ret < 0) ERR(__LINE__);