Commit Graph
2 Commits
Author SHA1 Message Date
Daniel LenskiandGitHub d4ea499eec Merge d1b75ac677 into e42961fa9a 2024-07-02 21:33:32 -04:00
Daniel Lenski d1b75ac677 Make HostKeyTest class reusable
Because the `HostKeyTest` class was mutating its static/global
`HOST_KEY_TYPES` dict, this class could not actually be used more than once
in a single thread!

Rather than mutate this dict after parsing each key type
(`HOST_KEY_TYPES[host_key_type]['parsed'] = True`), the `perform_test`
method should simple add the parsed key types to a local `set()`.
2024-07-01 17:18:45 -07:00