summaryrefslogtreecommitdiffstats
path: root/include/config.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-09-24 19:58:34 -0400
committerDrew DeVault <sir@cmpwn.com>2020-09-24 19:58:41 -0400
commitfa69887e52201eb348f1bfbecf72bdab5c57bd9c (patch)
tree2e49486c30e333483b45150348f2c51831450dd5 /include/config.h
parent7af04ea4713770cd19cb9659a59f8758e4207c2c (diff)
downloadgmnisrv-fa69887e52201eb348f1bfbecf72bdab5c57bd9c.tar.gz
gmnisrv-fa69887e52201eb348f1bfbecf72bdab5c57bd9c.tar.xz
gmnisrv-fa69887e52201eb348f1bfbecf72bdab5c57bd9c.zip
Implement TLS exchange with clients
This probably leaves a bit to be desired tbh
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index 495db3a..83253f7 100644
--- a/include/config.h
+++ b/include/config.h
@@ -7,12 +7,12 @@ struct gmnisrv_tls {
char *store;
char *organization;
char *email;
+ SSL_CTX *ssl_ctx;
};
struct gmnisrv_host {
char *hostname;
char *root;
- SSL_CTX *ssl_ctx;
X509 *x509;
EVP_PKEY *pkey;
struct gmnisrv_host *next;