summaryrefslogtreecommitdiff
path: root/regress/unittests
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-07-03 04:39:23 +0000
committerDamien Miller <djm@mindrot.org>2015-07-15 16:04:02 +1000
commit6a977a4b68747ade189e43d302f33403fd4a47ac (patch)
tree51474b3b479b4e16d20309d8d6b5ccf235e4c152 /regress/unittests
parent0c4123ad5e93fb90fee9c6635b13a6cdabaac385 (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')
-rw-r--r--regress/unittests/sshkey/test_sshkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/unittests/sshkey/test_sshkey.c b/regress/unittests/sshkey/test_sshkey.c
index 4453a859..9e780701 100644
--- a/regress/unittests/sshkey/test_sshkey.c
+++ b/regress/unittests/sshkey/test_sshkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: test_sshkey.c,v 1.4 2015/04/22 01:38:36 djm Exp $ */
+/* $OpenBSD: test_sshkey.c,v 1.5 2015/07/03 04:39:23 djm Exp $ */
/*
* Regress test for sshkey.h key management API
*
@@ -424,7 +424,7 @@ sshkey_tests(void)
ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_1.pub"),
&k1, NULL), 0);
k2 = get_private("ed25519_2");
- ASSERT_INT_EQ(sshkey_to_certified(k1, 0), 0);
+ ASSERT_INT_EQ(sshkey_to_certified(k1), 0);
ASSERT_PTR_NE(k1->cert, NULL);
k1->cert->type = SSH2_CERT_TYPE_USER;
k1->cert->serial = 1234;