ssl sync with http://hg.angelforce.ru/charybdis-old
This commit is contained in:
parent
715ffadfd9
commit
c6d7203732
27 changed files with 1055 additions and 595 deletions
|
@ -97,6 +97,14 @@ mo_connect(struct Client *client_p, struct Client *source_p, int parc, const cha
|
|||
return 0;
|
||||
}
|
||||
|
||||
if(ServerConfSSL(server_p) && (!ssl_ok || !get_ssld_count()))
|
||||
{
|
||||
sendto_one_notice(source_p,
|
||||
":Connect: Server %s is set to use SSL/TLS but SSL/TLS is not configured.",
|
||||
parv[1]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Get port number from user, if given. If not specified,
|
||||
* use the default form configuration structure. If missing
|
||||
|
@ -191,6 +199,14 @@ ms_connect(struct Client *client_p, struct Client *source_p, int parc, const cha
|
|||
return 0;
|
||||
}
|
||||
|
||||
if(ServerConfSSL(server_p) && (!ssl_ok || !get_ssld_count()))
|
||||
{
|
||||
sendto_one_notice(source_p,
|
||||
":Connect: Server %s is set to use SSL/TLS but SSL/TLS is not configured.",
|
||||
parv[1]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Get port number from user, if given. If not specified,
|
||||
* use the default form configuration structure. If missing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue