projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a5455d1
)
Allow the core to use expired certificates.
author
Felix Geyer
<debfx@fobos.de>
Tue, 27 Sep 2011 14:02:22 +0000
(16:02 +0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Tue, 22 May 2012 19:25:29 +0000
(21:25 +0200)
The core should only display a warning but not ignore the certificate
if it's expired.
This is especially useful for self-signed certificates.
src/core/sslserver.cpp
patch
|
blob
|
history
diff --git
a/src/core/sslserver.cpp
b/src/core/sslserver.cpp
index
4080f81
..
987db4b
100644
(file)
--- a/
src/core/sslserver.cpp
+++ b/
src/core/sslserver.cpp
@@
-114,8
+114,7
@@
bool SslServer::setCertificate(const QString &path) {
return false;
}
if(!_cert.isValid()) {
- quWarning() << "SslServer: Invalid certificate";
- return false;
+ quWarning() << "SslServer: Invalid certificate (most likely expired)";
}
if(_key.isNull()) {
quWarning() << "SslServer:" << qPrintable(path) << "contains no key data";