aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/https/tls/auth_dhe.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2008-11-16 22:42:42 +0000
committerChristian Grothoff <christian@grothoff.org>2008-11-16 22:42:42 +0000
commit41bfbef69f5720fafac18cfd8d5e728241f186d5 (patch)
tree3f5d47d8d8e6646bda4d5d65b0deb540ee2dfa50 /src/daemon/https/tls/auth_dhe.c
parent7d63b00a0eafd37c3e78d9accc0ccf95b02de97a (diff)
downloadlibmicrohttpd-41bfbef69f5720fafac18cfd8d5e728241f186d5.tar.gz
libmicrohttpd-41bfbef69f5720fafac18cfd8d5e728241f186d5.zip
dce
Diffstat (limited to 'src/daemon/https/tls/auth_dhe.c')
-rw-r--r--src/daemon/https/tls/auth_dhe.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/daemon/https/tls/auth_dhe.c b/src/daemon/https/tls/auth_dhe.c
index fa535e55..38407f9d 100644
--- 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)
84 mpi_t g, p; 84 mpi_t g, p;
85 const mpi_t *mpis; 85 const mpi_t *mpis;
86 int ret = 0, data_size; 86 int ret = 0, data_size;
87 int bits;
88 MHD_gnutls_cert *apr_cert_list; 87 MHD_gnutls_cert *apr_cert_list;
89 MHD_gnutls_privkey *apr_pkey; 88 MHD_gnutls_privkey *apr_pkey;
90 int apr_cert_list_length; 89 int apr_cert_list_length;
@@ -100,8 +99,6 @@ gen_dhe_server_kx (MHD_gtls_session_t session, opaque ** data)
100 return GNUTLS_E_INSUFFICIENT_CREDENTIALS; 99 return GNUTLS_E_INSUFFICIENT_CREDENTIALS;
101 } 100 }
102 101
103 bits = MHD_gtls_dh_get_allowed_prime_bits (session);
104
105 /* find the appropriate certificate */ 102 /* find the appropriate certificate */
106 if ((ret = 103 if ((ret =
107 MHD_gtls_get_selected_cert (session, &apr_cert_list, 104 MHD_gtls_get_selected_cert (session, &apr_cert_list,