ircd: do not shadow internal openssl symbol "ssl_ok" (yeah, i know)
This commit is contained in:
parent
7cc67225cb
commit
bfc44622c8
8 changed files with 18 additions and 18 deletions
|
@ -99,7 +99,7 @@ mo_connect(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *sour
|
|||
return;
|
||||
}
|
||||
|
||||
if(ServerConfSSL(server_p) && (!ssl_ok || !get_ssld_count()))
|
||||
if(ServerConfSSL(server_p) && (!ircd_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.",
|
||||
|
@ -192,7 +192,7 @@ ms_connect(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *sour
|
|||
return;
|
||||
}
|
||||
|
||||
if(ServerConfSSL(server_p) && (!ssl_ok || !get_ssld_count()))
|
||||
if(ServerConfSSL(server_p) && (!ircd_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.",
|
||||
|
|
|
@ -75,7 +75,7 @@ mr_starttls(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *sou
|
|||
return;
|
||||
}
|
||||
|
||||
if (!ssl_ok || !get_ssld_count())
|
||||
if (!ircd_ssl_ok || !get_ssld_count())
|
||||
{
|
||||
sendto_one_numeric(client_p, ERR_STARTTLS, form_str(ERR_STARTTLS), "TLS is not configured");
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue