diff options
| author | Drew DeVault <sir@cmpwn.com> | 2020-09-24 19:58:34 -0400 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2020-09-24 19:58:41 -0400 |
| commit | fa69887e52201eb348f1bfbecf72bdab5c57bd9c (patch) | |
| tree | 2e49486c30e333483b45150348f2c51831450dd5 /include/tls.h | |
| parent | 7af04ea4713770cd19cb9659a59f8758e4207c2c (diff) | |
| download | gmnisrv-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/tls.h')
| -rw-r--r-- | include/tls.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
