RSA fingerprint: Fix missing md5

This commit is contained in:
Lukas W 2015-05-06 08:27:15 +02:00
parent c46890b00c
commit 10d88c9c17

View File

@ -1734,7 +1734,7 @@ class RSA
$base = base64_encode($hash->hash($RSAPublicKey));
return substr($base, 0, strlen($base)-1);
case 'md5':
return substr(chunk_split($RSAPublicKey, 2, ':'), 0, -1);
return substr(chunk_split(md5($RSAPublicKey), 2, ':'), 0, -1);
default:
return false;
}