diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2018-09-12 01:22:44 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2018-09-12 01:22:44 +0000 |
commit | 7628792690b9b61d631186a927a75671cf6b2ff3 (patch) | |
tree | 0859209615cefe743e3fea030767688e71afa02e /regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c | |
parent | 3e8786b01f5814e31862d4a342257107ca223b83 (diff) |
s/sshkey_demote/sshkey_from_private/g
Diffstat (limited to 'regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c')
-rw-r--r-- | regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c b/regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c index 20042b4ed9b..7824a2a3e55 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.14 2018/07/13 02:13:19 djm Exp $ */ +/* $OpenBSD: test_sshkey.c,v 1.15 2018/09/12 01:22:43 djm Exp $ */ /* * Regress test for sshkey.h key management API * @@ -303,7 +303,7 @@ sshkey_tests(void) TEST_DONE(); TEST_START("demote KEY_RSA"); - ASSERT_INT_EQ(sshkey_demote(kr, &k1), 0); + ASSERT_INT_EQ(sshkey_from_private(kr, &k1), 0); ASSERT_PTR_NE(k1, NULL); ASSERT_PTR_NE(kr, k1); ASSERT_INT_EQ(k1->type, KEY_RSA); @@ -319,7 +319,7 @@ sshkey_tests(void) TEST_DONE(); TEST_START("demote KEY_DSA"); - ASSERT_INT_EQ(sshkey_demote(kd, &k1), 0); + ASSERT_INT_EQ(sshkey_from_private(kd, &k1), 0); ASSERT_PTR_NE(k1, NULL); ASSERT_PTR_NE(kd, k1); ASSERT_INT_EQ(k1->type, KEY_DSA); @@ -334,7 +334,7 @@ sshkey_tests(void) TEST_DONE(); TEST_START("demote KEY_ECDSA"); - ASSERT_INT_EQ(sshkey_demote(ke, &k1), 0); + ASSERT_INT_EQ(sshkey_from_private(ke, &k1), 0); ASSERT_PTR_NE(k1, NULL); ASSERT_PTR_NE(ke, k1); ASSERT_INT_EQ(k1->type, KEY_ECDSA); @@ -350,7 +350,7 @@ sshkey_tests(void) TEST_DONE(); TEST_START("demote KEY_ED25519"); - ASSERT_INT_EQ(sshkey_demote(kf, &k1), 0); + ASSERT_INT_EQ(sshkey_from_private(kf, &k1), 0); ASSERT_PTR_NE(k1, NULL); ASSERT_PTR_NE(kf, k1); ASSERT_INT_EQ(k1->type, KEY_ED25519); |