2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-15 04:20:56 +00:00

10_CUL_HM: AES bug

git-svn-id: https://svn.fhem.de/fhem/trunk@8897 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2015-07-05 14:31:30 +00:00
parent ae59b6e60d
commit b3e2c0ea47

View File

@ -6385,8 +6385,8 @@ sub CUL_HM_getKeys($) { #in: device-hash out:highest index, hash with keys
foreach my $i (1..3){
my ($kNo,$k) = split(":",AttrVal($vccu,"hmKey".($i== 1?"":$i),""));
$kNo = hex($kNo);
if (defined($k)) {
$kNo = hex($kNo);
$keys{$kNo} = pack("H*", $k);
$highestIdx = $kNo if ($kNo > $highestIdx);
}