[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r16746 - in libmicrohttpd: doc src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r16746 - in libmicrohttpd: doc src/include |
Date: |
Sat, 10 Sep 2011 07:30:02 +0200 |
Author: grothoff
Date: 2011-09-10 07:30:02 +0200 (Sat, 10 Sep 2011)
New Revision: 16746
Modified:
libmicrohttpd/doc/microhttpd.texi
libmicrohttpd/src/include/microhttpd.h
Log:
use GNUTLS_SESSION instead of the un-implemented GNUTLS_CLIENT_CERT
Modified: libmicrohttpd/doc/microhttpd.texi
===================================================================
--- libmicrohttpd/doc/microhttpd.texi 2011-09-09 19:13:37 UTC (rev 16745)
+++ libmicrohttpd/doc/microhttpd.texi 2011-09-10 05:30:02 UTC (rev 16746)
@@ -735,9 +735,9 @@
NULL is returned for non-HTTPS connections.
@item MHD_CONNECTION_INFO_GNUTLS_CLIENT_CERT,
-Takes no extra arguments. Allows access to the client certificate
-including access to the underlying GNUtls client certificate
-(HTTPS connections only). Takes no extra arguments.
+Dysfunctional (never implemented, deprecated). Use
+MHD_CONNECTION_INFO_GNUTLS_SESSION to get the @code{gnutls_session_t}
+and then call @code{gnutls_certificate_get_peers()}.
@item MHD_CONNECTION_INFO_DAEMON
Returns information about @code{struct MHD_Daemon} which manages
Modified: libmicrohttpd/src/include/microhttpd.h
===================================================================
--- libmicrohttpd/src/include/microhttpd.h 2011-09-09 19:13:37 UTC (rev
16745)
+++ libmicrohttpd/src/include/microhttpd.h 2011-09-10 05:30:02 UTC (rev
16746)
@@ -729,7 +729,10 @@
MHD_CONNECTION_INFO_GNUTLS_SESSION,
/**
- * Get the GNUTLS client certificate handle.
+ * Get the GNUTLS client certificate handle. Dysfunctional (never
+ * implemented, deprecated). Use MHD_CONNECTION_INFO_GNUTLS_SESSION
+ * to get the gnutls_session_t and then call
+ * gnutls_certificate_get_peers().
*/
MHD_CONNECTION_INFO_GNUTLS_CLIENT_CERT,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r16746 - in libmicrohttpd: doc src/include,
gnunet <=