summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-02 08:40:53 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-02 08:40:53 +0100
commitdb490837d8a388e2d306e22d5f108de7a1d16634 (patch)
tree4c45390e5c2daeef316a316deb120331183cad88 /src
parentb9396adaaaa1c763bda1043fbc98c9a6212e081b (diff)
downloadgnutls-db490837d8a388e2d306e22d5f108de7a1d16634.tar.gz
Do not use gnutls_dh_set_prime_bits() in server side.
Diffstat (limited to 'src')
-rw-r--r--src/benchmark-tls.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/benchmark-tls.c b/src/benchmark-tls.c
index 96d1f9b243..644fa12404 100644
--- a/src/benchmark-tls.c
+++ b/src/benchmark-tls.c
@@ -210,7 +210,6 @@ static void test_ciphersuite(const char *cipher_prio, int size)
}
gnutls_credentials_set(server, GNUTLS_CRD_ANON, s_anoncred);
gnutls_credentials_set(server, GNUTLS_CRD_CERTIFICATE, s_certcred);
- gnutls_dh_set_prime_bits(server, 1024);
gnutls_transport_set_push_function(server, server_push);
gnutls_transport_set_pull_function(server, server_pull);
gnutls_transport_set_ptr(server, (gnutls_transport_ptr_t) server);