diff options
Diffstat (limited to 'src/daemon/https/tls/gnutls_auth.c')
-rw-r--r-- | src/daemon/https/tls/gnutls_auth.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/daemon/https/tls/gnutls_auth.c b/src/daemon/https/tls/gnutls_auth.c index fcb8ed55..df978ef9 100644 --- a/src/daemon/https/tls/gnutls_auth.c +++ b/src/daemon/https/tls/gnutls_auth.c | |||
@@ -171,43 +171,6 @@ MHD_gtls_auth_get_type (MHD_gtls_session_t session) | |||
171 | server); | 171 | server); |
172 | } | 172 | } |
173 | 173 | ||
174 | /** | ||
175 | * MHD_gtls_auth_server_get_type - Returns the type of credentials for the server authentication schema. | ||
176 | * @session: is a #MHD_gtls_session_t structure. | ||
177 | * | ||
178 | * Returns the type of credentials that were used for server authentication. | ||
179 | * The returned information is to be used to distinguish the function used | ||
180 | * to access authentication data. | ||
181 | * | ||
182 | **/ | ||
183 | enum MHD_GNUTLS_CredentialsType | ||
184 | MHD_gtls_auth_server_get_type (MHD_gtls_session_t session) | ||
185 | { | ||
186 | return | ||
187 | MHD_gtls_map_kx_get_cred (MHD_gtls_cipher_suite_get_kx_algo | ||
188 | (&session-> | ||
189 | security_parameters.current_cipher_suite), 1); | ||
190 | } | ||
191 | |||
192 | /** | ||
193 | * MHD_gtls_auth_client_get_type - Returns the type of credentials for the client authentication schema. | ||
194 | * @session: is a #MHD_gtls_session_t structure. | ||
195 | * | ||
196 | * Returns the type of credentials that were used for client authentication. | ||
197 | * The returned information is to be used to distinguish the function used | ||
198 | * to access authentication data. | ||
199 | * | ||
200 | **/ | ||
201 | enum MHD_GNUTLS_CredentialsType | ||
202 | MHD_gtls_auth_client_get_type (MHD_gtls_session_t session) | ||
203 | { | ||
204 | return | ||
205 | MHD_gtls_map_kx_get_cred (MHD_gtls_cipher_suite_get_kx_algo | ||
206 | (&session-> | ||
207 | security_parameters.current_cipher_suite), 0); | ||
208 | } | ||
209 | |||
210 | |||
211 | /* | 174 | /* |
212 | * This returns a pointer to the linked list. Don't | 175 | * This returns a pointer to the linked list. Don't |
213 | * free that!!! | 176 | * free that!!! |
@@ -294,8 +257,6 @@ MHD_gtls_free_auth_info (MHD_gtls_session_t session) | |||
294 | 257 | ||
295 | switch (session->key->auth_info_type) | 258 | switch (session->key->auth_info_type) |
296 | { | 259 | { |
297 | case MHD_GNUTLS_CRD_SRP: | ||
298 | break; | ||
299 | case MHD_GNUTLS_CRD_CERTIFICATE: | 260 | case MHD_GNUTLS_CRD_CERTIFICATE: |
300 | { | 261 | { |
301 | unsigned int i; | 262 | unsigned int i; |