From 0d1137f987d78f83e1222ece29a1438a49658d3c Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 24 Sep 2020 17:51:29 -0400 Subject: Implement TLS store Includes hands-free certificate generation and loading --- include/config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/config.h') diff --git a/include/config.h b/include/config.h index 9455c2b..d42a1bf 100644 --- a/include/config.h +++ b/include/config.h @@ -1,6 +1,7 @@ #ifndef GMNISRV_CONFIG #define GMNISRV_CONFIG #include +#include struct gmnisrv_tls { char *store; @@ -11,6 +12,7 @@ struct gmnisrv_tls { struct gmnisrv_host { char *hostname; char *root; + SSL_CTX *ssl_ctx; struct gmnisrv_host *next; }; -- cgit v1.2.3