diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2016-05-02 09:52:01 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2016-05-02 09:52:01 +0000 |
commit | 476c40d26db3f04828d06bb839a086b400d06768 (patch) | |
tree | 3ff2b653a34d9cac28bfa208b25ca34f2c8d1a4c /regress/usr.bin/ssh/unittests | |
parent | e1d01ea6ff42361412175340de505ec4eac0e788 (diff) |
unit and regress tests for SHA256/512; ok markus
Diffstat (limited to 'regress/usr.bin/ssh/unittests')
-rw-r--r-- | regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c b/regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c index aa539452224..6f88f9811db 100644 --- a/regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c +++ b/regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: test_sshkey.c,v 1.9 2015/12/07 02:20:46 djm Exp $ */ +/* $OpenBSD: test_sshkey.c,v 1.10 2016/05/02 09:52:00 djm Exp $ */ /* * Regress test for sshkey.h key management API * @@ -432,7 +432,7 @@ sshkey_tests(void) put_opt(k1->cert->extensions, "permit-X11-forwarding", NULL); put_opt(k1->cert->extensions, "permit-agent-forwarding", NULL); ASSERT_INT_EQ(sshkey_from_private(k2, &k1->cert->signature_key), 0); - ASSERT_INT_EQ(sshkey_certify(k1, k2), 0); + ASSERT_INT_EQ(sshkey_certify(k1, k2, NULL), 0); b = sshbuf_new(); ASSERT_PTR_NE(b, NULL); ASSERT_INT_EQ(sshkey_putb(k1, b), 0); |