From fe0bc465b06f872a4c54154aa729f1089acfd2f9 Mon Sep 17 00:00:00 2001 From: Le Tan Date: Fri, 3 Nov 2017 23:00:08 +0800 Subject: [PATCH] add openssl version check --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 5bae6076..c1f1add5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include "utils/vutils.h" #include "vsingleinstanceguard.h" #include "vconfigmanager.h" @@ -114,6 +115,10 @@ int main(int argc, char *argv[]) QApplication app(argc, argv); + // Check the openSSL. + qDebug() << "openSSL" << QSslSocket::sslLibraryBuildVersionString() + << QSslSocket::sslLibraryVersionNumber(); + // The file path passed via command line arguments. QStringList filePaths = VUtils::filterFilePathsToOpen(app.arguments().mid(1));