Bugfix in reflector authentication

This commit is contained in:
Tobias Blomberg 2021-03-09 23:49:57 +01:00
parent 699169a44f
commit bc8cb606b5
3 changed files with 4 additions and 2 deletions

View File

@ -151,6 +151,8 @@
* The AUTOACTIVATE_ON_SQL logic linking configuration variable has been
renamed to ACTIVATE_ON_ACTIVITY.
* Bugfix in reflector authentication.
1.7.0 -- 01 Sep 2019

View File

@ -418,7 +418,7 @@ void ReflectorClient::handleMsgAuthResponse(std::istream& is)
}
string auth_key = lookupUserKey(msg.callsign());
if (msg.verify(auth_key, m_auth_challenge))
if (!auth_key.empty() && msg.verify(auth_key, m_auth_challenge))
{
vector<string> connected_nodes;
m_reflector->nodeList(connected_nodes);

View File

@ -37,4 +37,4 @@ DEVCAL=1.0.2.99.2
SVXSERVER=0.0.6
# Version for SvxReflector
SVXREFLECTOR=1.99.7
SVXREFLECTOR=1.99.8