Remove unneeded test usage of md5

MD5 is not FIPS compliant and we do not need to use it in the majority
of tests. Replace them where not explicitly needed.

(cherry picked from commit 3291846ae8e13e05c6554d0029c25a99fd6b5a10)
This commit is contained in:
Benjamin Bannier 2024-05-17 14:43:57 +02:00
parent 85760614cc
commit 2bfaab603d
4 changed files with 10 additions and 10 deletions

View file

@ -5,12 +5,12 @@
event ssh2_server_host_key(c: connection, key: string)
{
print "ssh2 server host key fingerprint", md5_hash(key);
print "ssh2 server host key fingerprint", sha1_hash(key);
}
event ssh1_server_host_key(c: connection, modulus: string, exponent: string)
{
print "ssh1 server host key fingerprint", md5_hash(modulus + exponent);
print "ssh1 server host key fingerprint", sha1_hash(modulus + exponent);
}
event ssh_server_host_key(c: connection, hash: string)