mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +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/fhem@16166 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
41f791da60
commit
bec1ce745e
@ -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