projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't require SSL for loopback connections with --require-ssl
[quassel.git]
/
src
/
core
/
coreauthhandler.cpp
diff --git
a/src/core/coreauthhandler.cpp
b/src/core/coreauthhandler.cpp
index
75a2928
..
92b32c5
100644
(file)
--- a/
src/core/coreauthhandler.cpp
+++ b/
src/core/coreauthhandler.cpp
@@
-158,7
+158,7
@@
void CoreAuthHandler::handle(const RegisterClient &msg)
else
useSsl = _connectionFeatures & Protocol::Encryption;
else
useSsl = _connectionFeatures & Protocol::Encryption;
- if (Quassel::isOptionSet("require-ssl") && !useSsl) {
+ if (Quassel::isOptionSet("require-ssl") && !useSsl
&& !_peer->isLocal()
) {
_peer->dispatch(ClientDenied(tr("<b>SSL is required!</b><br>You need to use SSL in order to connect to this core.")));
_peer->close();
return;
_peer->dispatch(ClientDenied(tr("<b>SSL is required!</b><br>You need to use SSL in order to connect to this core.")));
_peer->close();
return;