aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdouard LEFIZELIER <edouardlefi@gmail.com>2023-07-17 09:55:29 -0400
committerEdouard LEFIZELIER <edouardlefi@gmail.com>2023-07-17 09:55:29 -0400
commitdb9706d123a2d85eb6f7ec5e5e3eeea5c2968847 (patch)
tree86adad4f02a8a0799e48114646ca932d4c265300
parent0b868d324f3cc4fa76cbac8d3db8dc2d9a26d755 (diff)
downloadlibmicrohttpd-branche_Edouard.tar.gz
libmicrohttpd-branche_Edouard.zip
-rw-r--r--src/microhttpd/connection_https.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/microhttpd/connection_https.c b/src/microhttpd/connection_https.c
index 07da32fa..4fb516d9 100644
--- a/src/microhttpd/connection_https.c
+++ b/src/microhttpd/connection_https.c
@@ -37,6 +37,19 @@
37#include <gnutls/gnutls.h> 37#include <gnutls/gnutls.h>
38#include "mhd_send.h" 38#include "mhd_send.h"
39 39
40struct TLS_Plugin *
41MHD_TLS_gnutls_init (void *ctx)
42{
43#define GNUTLS_API(rval,fname,fargs) \
44 fname = MHD_TLS_openssl_ ## fname
45
46 static struct TLS_Plugin plugin = {
47 TLS_API (GNUTLS_API)
48 };
49#undef GNUTLS_API
50 return &plugin;
51}
52
40 53
41/** 54/**
42 * Callback for receiving data from the socket. 55 * Callback for receiving data from the socket.