-fixing #2443: tutorial was unclear

This commit is contained in:
Christian Grothoff committed 2012-06-22 09:08:03 +00:00
1 parent aa8f99d22e
commit faabde7649
2 files changed
+6 -3

No files matched your search

+5 -2
View File
@@ -157,8 +157,11 @@ obtain the raw GnuTLS session handle from @emph{MHD} using
#include <gnutls/x509.h>
gnutls_session_t tls_session;
tls_session = MHD_get_connection_info (connection,
MHD_CONNECTION_INFO_GNUTLS_SESSION);
union MHD_ConnectionInfo *ci;
ci = MHD_get_connection_info (connection,
MHD_CONNECTION_INFO_GNUTLS_SESSION);
tls_session = ci->tls_session;
@end verbatim
You can then extract the client certificate:
+1 -1
View File
@@ -13,7 +13,7 @@
#define SERVERCERTFILE "server.pem"
char *
static char *
string_to_base64 (const char *message)
{
const char *lookup =