Some bits here and there...
This commit is contained in:
7
rmps.c
7
rmps.c
@@ -82,6 +82,7 @@ static void set_env(void)
|
||||
sigaction(SIGHUP, &new_sigaction, NULL); /* catch hangup signal */
|
||||
sigaction(SIGTERM, &new_sigaction, NULL); /* catch term signal */
|
||||
sigaction(SIGINT, &new_sigaction, NULL); /* catch interrupt signal */
|
||||
signal(SIGPIPE, SIG_IGN); /* prevent crashing from bad writes */
|
||||
}
|
||||
|
||||
static void daemonize(const char *rundir)
|
||||
@@ -222,9 +223,9 @@ static SSL_CTX* init_server_ctx(const char *cipherlist)
|
||||
return ctx;
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------*/
|
||||
/*--- LoadCertificates - load from files. ---*/
|
||||
/*---------------------------------------------------------------------*/
|
||||
/*-------------------------------------------*/
|
||||
/*--- LoadCertificates - load from files. ---*/
|
||||
/*-------------------------------------------*/
|
||||
void load_certificates(SSL_CTX* ctx, const char *certfile,
|
||||
const char *keyfile, const char *cafile)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user