diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-03-04 23:22:35 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-03-05 10:27:22 +1100 |
commit | ac5e8acefa253eb5e5ba186e34236c0e8007afdc (patch) | |
tree | 94ce27024ed839d1f236d6a416215c91250c04be /regress/unittests/sshkey/test_file.c | |
parent | 2f04af92f036b0c87a23efb259c37da98cd81fe6 (diff) |
upstream commit
make these work with !SSH1; ok markus@ deraadt@
Diffstat (limited to 'regress/unittests/sshkey/test_file.c')
-rw-r--r-- | regress/unittests/sshkey/test_file.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/unittests/sshkey/test_file.c b/regress/unittests/sshkey/test_file.c index 9c38a7c6..fa95212b 100644 --- a/regress/unittests/sshkey/test_file.c +++ b/regress/unittests/sshkey/test_file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: test_file.c,v 1.2 2014/12/22 02:15:52 djm Exp $ */ +/* $OpenBSD: test_file.c,v 1.3 2015/03/04 23:22:35 djm Exp $ */ /* * Regress test for sshkey.h key management API * @@ -51,6 +51,7 @@ sshkey_file_tests(void) pw = load_text_file("pw"); TEST_DONE(); +#ifdef WITH_SSH1 TEST_START("parse RSA1 from private"); buf = load_file("rsa1_1"); ASSERT_INT_EQ(sshkey_parse_private_fileblob(buf, "", "rsa1_1", @@ -99,6 +100,7 @@ sshkey_file_tests(void) TEST_DONE(); sshkey_free(k1); +#endif TEST_START("parse RSA from private"); buf = load_file("rsa_1"); |