commit f9aa18c17e11631f12d0145a9c259ba1b772dbc8
parent b5c7519d9a4449ffe9fadb6ba30f5295752bb97b
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 4 Mar 2021 13:32:39 +0100
fix example
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/chapters/tlsauthentication.inc b/doc/chapters/tlsauthentication.inc
@@ -161,7 +161,7 @@ union MHD_ConnectionInfo *ci;
ci = MHD_get_connection_info (connection,
MHD_CONNECTION_INFO_GNUTLS_SESSION);
-tls_session = ci->tls_session;
+tls_session = (gnutls_session_t) ci->tls_session;
@end verbatim
You can then extract the client certificate: