commit 41bfbef69f5720fafac18cfd8d5e728241f186d5
parent 7d63b00a0eafd37c3e78d9accc0ccf95b02de97a
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 16 Nov 2008 22:42:42 +0000
dce
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/daemon/https/tls/auth_dhe.c b/src/daemon/https/tls/auth_dhe.c
@@ -84,7 +84,6 @@ gen_dhe_server_kx (MHD_gtls_session_t session, opaque ** data)
mpi_t g, p;
const mpi_t *mpis;
int ret = 0, data_size;
- int bits;
MHD_gnutls_cert *apr_cert_list;
MHD_gnutls_privkey *apr_pkey;
int apr_cert_list_length;
@@ -100,8 +99,6 @@ gen_dhe_server_kx (MHD_gtls_session_t session, opaque ** data)
return GNUTLS_E_INSUFFICIENT_CREDENTIALS;
}
- bits = MHD_gtls_dh_get_allowed_prime_bits (session);
-
/* find the appropriate certificate */
if ((ret =
MHD_gtls_get_selected_cert (session, &apr_cert_list,