mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Fixed build for non ssl
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@558 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
5
znc.cpp
5
znc.cpp
@@ -199,6 +199,10 @@ bool CZNC::WritePidFile(int iPid) {
|
||||
}
|
||||
|
||||
bool CZNC::WritePemFile() {
|
||||
#ifndef HAVE_LIBSSL
|
||||
CUtils::PrintError("ZNC was not compiled with ssl support.");
|
||||
return false;
|
||||
#else
|
||||
CString sPemFile = GetPemLocation();
|
||||
const char* pHostName = getenv("HOSTNAME");
|
||||
CString sHost;
|
||||
@@ -227,6 +231,7 @@ bool CZNC::WritePemFile() {
|
||||
|
||||
CUtils::PrintStatus(true);
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
void CZNC::DeleteUsers() {
|
||||
|
||||
Reference in New Issue
Block a user