diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-07-03 04:39:23 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-07-15 16:04:02 +1000 |
commit | 6a977a4b68747ade189e43d302f33403fd4a47ac (patch) | |
tree | 51474b3b479b4e16d20309d8d6b5ccf235e4c152 /regress/unittests/sshkey/test_sshkey.c | |
parent | 0c4123ad5e93fb90fee9c6635b13a6cdabaac385 (diff) |
upstream commit
legacy v00 certificates are gone; adapt and don't try to
test them; "sure" markus@ dtucker@
Upstream-Regress-ID: c57321e69b3cd4a3b3396dfcc43f0803d047da12
Diffstat (limited to 'regress/unittests/sshkey/test_sshkey.c')
-rw-r--r-- | regress/unittests/sshkey/test_sshkey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/unittests/sshkey/test_sshkey.c b/regress/unittests/sshkey/test_sshkey.c index 4453a8599..9e780701a 100644 --- a/regress/unittests/sshkey/test_sshkey.c +++ b/regress/unittests/sshkey/test_sshkey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: test_sshkey.c,v 1.4 2015/04/22 01:38:36 djm Exp $ */ | 1 | /* $OpenBSD: test_sshkey.c,v 1.5 2015/07/03 04:39:23 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Regress test for sshkey.h key management API | 3 | * Regress test for sshkey.h key management API |
4 | * | 4 | * |
@@ -424,7 +424,7 @@ sshkey_tests(void) | |||
424 | ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_1.pub"), | 424 | ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_1.pub"), |
425 | &k1, NULL), 0); | 425 | &k1, NULL), 0); |
426 | k2 = get_private("ed25519_2"); | 426 | k2 = get_private("ed25519_2"); |
427 | ASSERT_INT_EQ(sshkey_to_certified(k1, 0), 0); | 427 | ASSERT_INT_EQ(sshkey_to_certified(k1), 0); |
428 | ASSERT_PTR_NE(k1->cert, NULL); | 428 | ASSERT_PTR_NE(k1->cert, NULL); |
429 | k1->cert->type = SSH2_CERT_TYPE_USER; | 429 | k1->cert->type = SSH2_CERT_TYPE_USER; |
430 | k1->cert->serial = 1234; | 430 | k1->cert->serial = 1234; |