summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorSimon Rettberg2019-05-31 17:43:04 +0200
committerSimon Rettberg2019-05-31 17:43:04 +0200
commit0b903ef40b727181fcf38356fd2486212973dae9 (patch)
tree376521781284ebbefbe70c7d69351517c2960fef /src/main.cpp
parentRemove debug spam (diff)
downloadvmchooser2-0b903ef40b727181fcf38356fd2486212973dae9.tar.gz
vmchooser2-0b903ef40b727181fcf38356fd2486212973dae9.tar.xz
vmchooser2-0b903ef40b727181fcf38356fd2486212973dae9.zip
Fix .conf file reading, add messages/warnings
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 0e3229b..3390101 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -31,6 +31,7 @@ int main(int argc, char *argv[]) {
}
if (Config::isSet(Config::INSECURE)) {
+ qDebug() << "Warning: Certificate validation disabled";
QSslConfiguration sslConf = QSslConfiguration::defaultConfiguration();
sslConf.setPeerVerifyMode(QSslSocket::VerifyNone);
QSslConfiguration::setDefaultConfiguration(sslConf);