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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user