From fa69887e52201eb348f1bfbecf72bdab5c57bd9c Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 24 Sep 2020 19:58:34 -0400 Subject: Implement TLS exchange with clients This probably leaves a bit to be desired tbh --- include/tls.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/tls.h') diff --git a/include/tls.h b/include/tls.h index bc088ef..06d1123 100644 --- a/include/tls.h +++ b/include/tls.h @@ -4,5 +4,7 @@ struct gmnisrv_config; int gmnisrv_tls_init(struct gmnisrv_config *conf); +SSL *gmnisrv_tls_get_ssl(struct gmnisrv_config *conf, int fd); +void gmnisrv_tls_set_host(SSL *ssl, struct gmnisrv_host *host); #endif -- cgit v1.2.3