2
0
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:
mgernoth 2018-02-13 19:52:08 +00:00
parent af2d53573e
commit 0e8fa22250

View File

@ -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 {