mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Deprecate "ssh1_server_host_key" parameters *e* and *p*
They are named such that *e* is actually the modulus, not the exponent. The replacement parameters are named *exponent* and *modulus* for clarity.
This commit is contained in:
parent
bd40a97a78
commit
45449dad72
6 changed files with 33 additions and 19 deletions
|
@ -8,9 +8,9 @@ event ssh2_server_host_key(c: connection, key: string)
|
|||
print "ssh2 server host key fingerprint", md5_hash(key);
|
||||
}
|
||||
|
||||
event ssh1_server_host_key(c: connection, p: string, e: string)
|
||||
event ssh1_server_host_key(c: connection, modulus: string, exponent: string)
|
||||
{
|
||||
print "ssh1 server host key fingerprint", md5_hash(e + p);
|
||||
print "ssh1 server host key fingerprint", md5_hash(modulus + exponent);
|
||||
}
|
||||
|
||||
event ssh_server_host_key(c: connection, hash: string)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue