Change variable name "SSLDHFile" to "DHFile" in log messages

(cherry picked from commit d96db0a2e56d310177edb45d0a8b164a37992ab1)
This commit is contained in:
Federico G. Schwindt 2012-09-19 00:52:50 +01:00 committed by Alexander Barton
parent 1a2bdd9e4c
commit e3a1a61868
1 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ Load_DH_params(void)
bool ret = true;
if (!Conf_SSLOptions.DHFile) {
Log(LOG_NOTICE, "Configuration option \"SSLDHFile\" not set!");
Log(LOG_NOTICE, "Configuration option \"DHFile\" not set!");
return false;
}
fp = fopen(Conf_SSLOptions.DHFile, "r");
@ -201,7 +201,7 @@ Load_DH_params(void)
}
if (need_dhgenerate) {
Log(LOG_WARNING,
"SSLDHFile not set, generating %u bit DH parameters. This may take a while ...",
"DHFile not set, generating %u bit DH parameters. This may take a while ...",
DH_BITS);
err = gnutls_dh_params_generate2(tmp_dh_params, DH_BITS);
if (err < 0) {