aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/connection.c')
-rw-r--r--src/daemon/connection.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/daemon/connection.c b/src/daemon/connection.c
index 7a05037d..2695be66 100644
--- a/src/daemon/connection.c
+++ b/src/daemon/connection.c
@@ -2316,6 +2316,10 @@ MHD_get_connection_info (struct MHD_Connection *connection,
2316 if (connection->tls_session == NULL) 2316 if (connection->tls_session == NULL)
2317 return NULL; 2317 return NULL;
2318 return (const union MHD_ConnectionInfo *) &connection->tls_session; 2318 return (const union MHD_ConnectionInfo *) &connection->tls_session;
2319#if DAUTH_SUPPORT
2320 case MHD_CONNECTION_INFO_GNUTLS_CLIENT_CERT:
2321 return (const union MHD_ConnectionInfo *) MHD_cert_auth_get_certificate(connection);
2322#endif
2319#endif 2323#endif
2320 case MHD_CONNECTION_INFO_CLIENT_ADDRESS: 2324 case MHD_CONNECTION_INFO_CLIENT_ADDRESS:
2321 return (const union MHD_ConnectionInfo *) &connection->addr; 2325 return (const union MHD_ConnectionInfo *) &connection->addr;