unbreak hostkeys test for w/ SSH1 case

This commit is contained in:
Damien Miller 2015-03-05 18:39:20 -08:00
parent 55e5bdeb51
commit b44ee0c998
1 changed files with 2 additions and 0 deletions

View File

@ -141,8 +141,10 @@ prepare_expected(struct expected *expected, size_t n)
for (i = 0; i < n; i++) {
if (expected[i].key_file == NULL)
continue;
#ifndef WITH_SSH1
if (expected[i].l.keytype == KEY_RSA1)
continue;
#endif
ASSERT_INT_EQ(sshkey_load_public(
test_data_file(expected[i].key_file), &expected[i].l.key,
NULL), 0);