[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/knetworkmanager/knetworkmanager-0.7/src
From: Helmut Schaa <hschaa () suse ! de>
Date: 2008-03-03 8:47:08
Message-ID: 1204534028.283300.30392.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 781559 by hschaa:
Hash all WEP-keys, not only the first one
M +12 -4 knetworkmanager-connection_setting_wireless_security.cpp
--- branches/work/knetworkmanager/knetworkmanager-0.7/src/knetworkmanager-connection_setting_wireless_security.cpp \
#781558:781559 @@ -532,16 +532,24 @@
{
QCString hashed = getHashedWEPKey(_wepKey[0], _wepKeyType);
map.insert(NM_SETTING_WIRELESS_SECURITY_WEP_KEY0, QDBusData::fromString(hashed));
- printf("Send WEP Key 0: %s\n", hashed.data());
}
if (!_wepKey[1].isNull())
- map.insert(NM_SETTING_WIRELESS_SECURITY_WEP_KEY1, \
QDBusData::fromString(_wepKey[1])); + {
+ QCString hashed = getHashedWEPKey(_wepKey[1], _wepKeyType);
+ map.insert(NM_SETTING_WIRELESS_SECURITY_WEP_KEY1, QDBusData::fromString(hashed));
+ }
if (!_wepKey[2].isNull())
- map.insert(NM_SETTING_WIRELESS_SECURITY_WEP_KEY2, \
QDBusData::fromString(_wepKey[2])); + {
+ QCString hashed = getHashedWEPKey(_wepKey[2], _wepKeyType);
+ map.insert(NM_SETTING_WIRELESS_SECURITY_WEP_KEY2, QDBusData::fromString(hashed));
+ }
if (!_wepKey[3].isNull())
- map.insert(NM_SETTING_WIRELESS_SECURITY_WEP_KEY3, \
QDBusData::fromString(_wepKey[3])); + {
+ QCString hashed = getHashedWEPKey(_wepKey[3], _wepKeyType);
+ map.insert(NM_SETTING_WIRELESS_SECURITY_WEP_KEY3, QDBusData::fromString(hashed));
+ }
return map;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic