mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-24 21:29:21 +00:00
00_HMUARTLGW.pm: explicitly call Digest::MD5::md5 when setting hmKey
Probably fixes forum #84339 git-svn-id: https://svn.fhem.de/fhem/trunk@16166 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
af2d53573e
commit
0e8fa22250
@ -1880,7 +1880,7 @@ sub HMUARTLGW_Attr(@)
|
||||
$attr{$name}{$aName} = "$no:".
|
||||
(($val =~ m /^[0-9A-Fa-f]{32}$/ )
|
||||
? $val
|
||||
: unpack('H*', md5($val)));
|
||||
: unpack('H*', Digest::MD5::md5($val)));
|
||||
$retVal = "$aName set to $attr{$name}{$aName}"
|
||||
if($aVal ne $attr{$name}{$aName});
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user