Christian Grothoff 5 lat temu
rodzic
commit
f9aa18c17e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      doc/chapters/tlsauthentication.inc

+ 1 - 1
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: