Commit 13825fb
committed
Make SSH2 host-key test algorithm-independent
SSH servers may negotiate any supported host-key algorithm based on their configuration and libssh2's capabilities. Requiring Ed25519 made the regression fail against otherwise valid CI fixtures using a different host key.\n\nAssert that libssh2 recognized the negotiated type instead. The test continues to verify the raw key payload and its exact SHA-256 fingerprint equivalence without coupling itself to one server configuration.1 parent 2c9e7f9 commit 13825fb
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments