diff options
-rw-r--r-- | doc/microhttpd.texi | 6 | ||||
-rw-r--r-- | src/include/microhttpd.h | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/doc/microhttpd.texi b/doc/microhttpd.texi index e47d03ae..71c814f0 100644 --- a/doc/microhttpd.texi +++ b/doc/microhttpd.texi | |||
@@ -735,9 +735,9 @@ including access to the underlying GNUtls client certificate | |||
735 | NULL is returned for non-HTTPS connections. | 735 | NULL is returned for non-HTTPS connections. |
736 | 736 | ||
737 | @item MHD_CONNECTION_INFO_GNUTLS_CLIENT_CERT, | 737 | @item MHD_CONNECTION_INFO_GNUTLS_CLIENT_CERT, |
738 | Takes no extra arguments. Allows access to the client certificate | 738 | Dysfunctional (never implemented, deprecated). Use |
739 | including access to the underlying GNUtls client certificate | 739 | MHD_CONNECTION_INFO_GNUTLS_SESSION to get the @code{gnutls_session_t} |
740 | (HTTPS connections only). Takes no extra arguments. | 740 | and then call @code{gnutls_certificate_get_peers()}. |
741 | 741 | ||
742 | @item MHD_CONNECTION_INFO_DAEMON | 742 | @item MHD_CONNECTION_INFO_DAEMON |
743 | Returns information about @code{struct MHD_Daemon} which manages | 743 | Returns information about @code{struct MHD_Daemon} which manages |
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 63abcaf7..3b88d39d 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -729,7 +729,10 @@ enum MHD_ConnectionInfoType | |||
729 | MHD_CONNECTION_INFO_GNUTLS_SESSION, | 729 | MHD_CONNECTION_INFO_GNUTLS_SESSION, |
730 | 730 | ||
731 | /** | 731 | /** |
732 | * Get the GNUTLS client certificate handle. | 732 | * Get the GNUTLS client certificate handle. Dysfunctional (never |
733 | * implemented, deprecated). Use MHD_CONNECTION_INFO_GNUTLS_SESSION | ||
734 | * to get the gnutls_session_t and then call | ||
735 | * gnutls_certificate_get_peers(). | ||
733 | */ | 736 | */ |
734 | MHD_CONNECTION_INFO_GNUTLS_CLIENT_CERT, | 737 | MHD_CONNECTION_INFO_GNUTLS_CLIENT_CERT, |
735 | 738 | ||