summaryrefslogtreecommitdiff
path: root/regress/unittests/hostkeys
diff options
context:
space:
mode:
Diffstat (limited to 'regress/unittests/hostkeys')
-rw-r--r--regress/unittests/hostkeys/test_iterate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/regress/unittests/hostkeys/test_iterate.c b/regress/unittests/hostkeys/test_iterate.c
index fc095ea49..5ea576c27 100644
--- a/regress/unittests/hostkeys/test_iterate.c
+++ b/regress/unittests/hostkeys/test_iterate.c
@@ -141,8 +141,10 @@ prepare_expected(struct expected *expected, size_t n)
141 for (i = 0; i < n; i++) { 141 for (i = 0; i < n; i++) {
142 if (expected[i].key_file == NULL) 142 if (expected[i].key_file == NULL)
143 continue; 143 continue;
144#ifndef WITH_SSH1
144 if (expected[i].l.keytype == KEY_RSA1) 145 if (expected[i].l.keytype == KEY_RSA1)
145 continue; 146 continue;
147#endif
146 ASSERT_INT_EQ(sshkey_load_public( 148 ASSERT_INT_EQ(sshkey_load_public(
147 test_data_file(expected[i].key_file), &expected[i].l.key, 149 test_data_file(expected[i].key_file), &expected[i].l.key,
148 NULL), 0); 150 NULL), 0);