[openssh-commits] [openssh] 09/11: upstream: s/sshkey_demote/sshkey_from_private/g
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Sep 12 16:52:20 AEST 2018
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 2de78bc7da70e1338b32feeefcc6045cf49efcd4
Author: djm at openbsd.org <djm at openbsd.org>
Date: Wed Sep 12 01:22:43 2018 +0000
upstream: s/sshkey_demote/sshkey_from_private/g
OpenBSD-Regress-ID: 782bde7407d94a87aa8d1db7c23750e09d4443c4
---
regress/unittests/sshkey/test_sshkey.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/regress/unittests/sshkey/test_sshkey.c b/regress/unittests/sshkey/test_sshkey.c
index 72367bde..7e03b7e5 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.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
*
@@ -318,7 +318,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);
@@ -334,7 +334,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);
@@ -350,7 +350,7 @@ sshkey_tests(void)
#ifdef OPENSSL_HAS_ECC
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);
@@ -367,7 +367,7 @@ sshkey_tests(void)
#endif
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);
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list