aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.