Skip to content

Commit

Permalink
state if SSL is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
dannagle committed Jun 15, 2024
1 parent 63018d4 commit 06d72e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/about.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ About::About(QWidget *parent) :
if (QSslSocket::supportsSsl()) {
versionBuilder.append("\nSSL Version: ");
versionBuilder.append(QSslSocket::sslLibraryBuildVersionString());
} else {
versionBuilder.append("\nSSL library not found");
}

#ifdef GIT_CURRENT_SHA1
Expand Down
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ int main(int argc, char *argv[])
if (QSslSocket::supportsSsl()) {
versionBuilder.append(" / SSL:");
versionBuilder.append(QSslSocket::sslLibraryBuildVersionString());
} else {
versionBuilder.append(" / SSL library not found");
}

#ifdef GIT_CURRENT_SHA1
Expand Down

0 comments on commit 06d72e9

Please sign in to comment.