mirror of
https://git.sr.ht/~sircmpwn/gmnisrv
synced 2024-09-01 05:54:15 -04:00
Had to totally cut off OpenSSL from the network fd because obviously OpenSSL is just going to wreck our shit
12 lines
265 B
C
12 lines
265 B
C
#ifndef GMNISRV_TLS
|
|
#define GMNISRV_TLS
|
|
|
|
struct gmnisrv_config;
|
|
|
|
int tls_init(struct gmnisrv_config *conf);
|
|
void tls_finish(struct gmnisrv_config *conf);
|
|
SSL *tls_get_ssl(struct gmnisrv_config *conf);
|
|
void tls_set_host(SSL *ssl, struct gmnisrv_host *host);
|
|
|
|
#endif
|