mirror of
https://github.com/znc/znc.git
synced 2026-06-24 20:11:51 +02:00
Remove znc --encrypt-pem
ZNC can't read encrypted pem files, so it's kinda pointless that it can generate those... git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1495 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -331,7 +331,7 @@ bool CZNC::DeletePidFile() {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CZNC::WritePemFile(bool bEncPem) {
|
||||
bool CZNC::WritePemFile() {
|
||||
#ifndef HAVE_LIBSSL
|
||||
CUtils::PrintError("ZNC was not compiled with ssl support.");
|
||||
return false;
|
||||
@@ -359,7 +359,7 @@ bool CZNC::WritePemFile(bool bEncPem) {
|
||||
return false;
|
||||
}
|
||||
|
||||
CUtils::GenerateCert(f, bEncPem, sHost);
|
||||
CUtils::GenerateCert(f, sHost);
|
||||
fclose(f);
|
||||
|
||||
CUtils::PrintStatus(true);
|
||||
|
||||
Reference in New Issue
Block a user