1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-01 11:06:38 +02:00
Files
unrealircd/include/ssl.h
T
stskeeps c39013f134 beta7
2002-03-12 20:49:09 +00:00

11 lines
362 B
C

/* Make these what you want for cert & key files */
#define CERTF "server.cert.pem"
#define KEYF "server.key.pem"
extern SSL_CTX * ctx;
extern SSL_METHOD *meth;
extern void init_ssl();
extern int ssl_handshake(aClient *); /* Handshake the accpeted con.*/
extern int ssl_client_handshake(aClient *, ConfigItem_link *); /* and the initiated con.*/