summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pedro/pedroutil.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pedro/pedroutil.cpp b/src/pedro/pedroutil.cpp
index 6d988c719..6de3bbfd4 100644
--- a/src/pedro/pedroutil.cpp
+++ b/src/pedro/pedroutil.cpp
@@ -1085,7 +1085,7 @@ bool TcpSocket::startTls()
fprintf(stderr,
"SSL starttls() error: client not compiled with SSL enabled\n");
return false;
-#endif /*HAVE_SSL*/
+#else /*HAVE_SSL*/
sslStream = NULL;
sslContext = NULL;
@@ -1149,6 +1149,7 @@ bool TcpSocket::startTls()
sslEnabled = true;
return true;
+#endif /* HAVE_SSL */
}