aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/https/tls/gnutls_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/https/tls/gnutls_auth.c')
-rw-r--r--src/daemon/https/tls/gnutls_auth.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/daemon/https/tls/gnutls_auth.c b/src/daemon/https/tls/gnutls_auth.c
index b1e1abe7..6f14d9c8 100644
--- a/src/daemon/https/tls/gnutls_auth.c
+++ b/src/daemon/https/tls/gnutls_auth.c
@@ -91,7 +91,7 @@ MHD__gnutls_credentials_clear (MHD_gtls_session_t session)
91 **/ 91 **/
92int 92int
93MHD__gnutls_credentials_set (MHD_gtls_session_t session, 93MHD__gnutls_credentials_set (MHD_gtls_session_t session,
94 enum MHD_GNUTLS_CredentialsType type, void *cred) 94 enum MHD_GNUTLS_CredentialsType type, void *cred)
95{ 95{
96 auth_cred_st *ccred = NULL, *pcred = NULL; 96 auth_cred_st *ccred = NULL, *pcred = NULL;
97 int exists = 0; 97 int exists = 0;
@@ -170,8 +170,9 @@ MHD_gtls_auth_get_type (MHD_gtls_session_t session)
170 170
171 return 171 return
172 MHD_gtls_map_kx_get_cred (MHD_gtls_cipher_suite_get_kx_algo 172 MHD_gtls_map_kx_get_cred (MHD_gtls_cipher_suite_get_kx_algo
173 (&session->security_parameters. 173 (&session->
174 current_cipher_suite), server); 174 security_parameters.current_cipher_suite),
175 server);
175} 176}
176 177
177/** 178/**
@@ -188,8 +189,8 @@ MHD_gtls_auth_server_get_type (MHD_gtls_session_t session)
188{ 189{
189 return 190 return
190 MHD_gtls_map_kx_get_cred (MHD_gtls_cipher_suite_get_kx_algo 191 MHD_gtls_map_kx_get_cred (MHD_gtls_cipher_suite_get_kx_algo
191 (&session->security_parameters. 192 (&session->
192 current_cipher_suite), 1); 193 security_parameters.current_cipher_suite), 1);
193} 194}
194 195
195/** 196/**
@@ -206,8 +207,8 @@ MHD_gtls_auth_client_get_type (MHD_gtls_session_t session)
206{ 207{
207 return 208 return
208 MHD_gtls_map_kx_get_cred (MHD_gtls_cipher_suite_get_kx_algo 209 MHD_gtls_map_kx_get_cred (MHD_gtls_cipher_suite_get_kx_algo
209 (&session->security_parameters. 210 (&session->
210 current_cipher_suite), 0); 211 security_parameters.current_cipher_suite), 0);
211} 212}
212 213
213 214