From 2c47a23dec110fb77e1cda36d6bdb83fc4d5e252 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 14 Jul 2018 11:44:01 +0200 Subject: integrate TLS PSK patch from Tal Moaz (plus documentation, plus style and bugfixes --- doc/libmicrohttpd.texi | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc') diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi index e4437441..d2886a25 100644 --- a/doc/libmicrohttpd.texi +++ b/doc/libmicrohttpd.texi @@ -869,6 +869,16 @@ information provided. The callback is expected to access the SNI data using gnutls_server_name_get(). Using this option requires GnuTLS 3.0 or higher. +@item MHD_OPTION_GNUTLS_PSK_CRED_HANDLER +@cindex SSL +@cindex TLS +@cindex PSK +Use pre-shared key for TLS credentials. +Pass a pointer to callback of type +@code{MHD_PskServerCredentialsCallback} and a closure. +The function will be called to +retrieve the shared key for a given username. + @item MHD_OPTION_DIGEST_AUTH_RANDOM @cindex digest auth @cindex random -- cgit v1.2.3