Skip to content
Permalink
Browse files

Disconnect if for some reason we established a connection to a server…

… without it having a certificate
  • Loading branch information...
hacst committed Aug 22, 2013
1 parent 679eacd commit b422e0a90566c2512858641e52abb9aec35a09cd
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/mumble/ServerHandler.cpp
@@ -551,7 +551,10 @@ void ServerHandler::serverConnectionConnected() {
qbaDigest = sha1(qsc.publicKey().toDer());
bUdp = Database::getUdp(qbaDigest);
} else {
bUdp = true;
// Shouldn't reach this
qCritical("Server must have a certificate. Dropping connection");
disconnect();
return;
}

MumbleProto::Version mpv;

0 comments on commit b422e0a

Please sign in to comment.
You can’t perform that action at this time.