Fix patch for CVE-2021-34825

This commit is contained in:
phuzion 2021-06-20 00:38:00 -04:00
parent a3338edcfa
commit 5ed9e0ba62
1 changed files with 7 additions and 7 deletions

View File

@ -1,8 +1,8 @@
diff --git a/src/core/sslserver.cpp b/src/core/sslserver.cpp diff --git src/core/sslserver.cpp src/core/sslserver.cpp
index 9c3c7edc..1c1f05cd 100644 index de420bd8..e4fcbc32 100644
--- a/src/core/sslserver.cpp --- src/core/sslserver.cpp
+++ b/src/core/sslserver.cpp +++ src/core/sslserver.cpp
@@ -49,6 +49,13 @@ SslServer::SslServer(QObject* parent) @@ -52,6 +52,13 @@ SslServer::SslServer(QObject *parent)
// Initialize the certificates for first-time usage // Initialize the certificates for first-time usage
if (!loadCerts()) { if (!loadCerts()) {
@ -14,5 +14,5 @@ index 9c3c7edc..1c1f05cd 100644
+ "Please see https://quassel-irc.org/faq/cert to learn how to enable SSL support.")}; + "Please see https://quassel-irc.org/faq/cert to learn how to enable SSL support.")};
+ } + }
if (!sslWarningShown) { if (!sslWarningShown) {
qWarning() << "SslServer: Unable to set certificate file\n" quWarning()
<< " Quassel Core will still work, but cannot provide SSL for client connections.\n" << "SslServer: Unable to set certificate file\n"