mirror of
https://git.sr.ht/~sircmpwn/gmnisrv
synced 2024-12-04 14:46:42 -05:00
1fe107875b
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
|