mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 19:48:20 +00:00
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:
parent
85760614cc
commit
2bfaab603d
4 changed files with 10 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue