From c575de17a8d020149ac9122da3b772ebca180115 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 19 Aug 2011 11:14:23 +0200 Subject: pki: Use a consistent naming scheme. --- tests/unittests/torture_pki.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/unittests/torture_pki.c b/tests/unittests/torture_pki.c index 6e009fb..7f8c68d 100644 --- a/tests/unittests/torture_pki.c +++ b/tests/unittests/torture_pki.c @@ -316,7 +316,7 @@ static void torture_pki_publickey_dsa_base64(void **state) rc = ssh_pki_import_pubkey_base64(q, type, &key); assert_true(rc == 0); - rc = ssh_pki_export_publickey_base64(key, &b64_key); + rc = ssh_pki_export_pubkey_base64(key, &b64_key); assert_true(rc == 0); assert_string_equal(q, b64_key); @@ -354,7 +354,7 @@ static void torture_pki_publickey_rsa_base64(void **state) rc = ssh_pki_import_pubkey_base64(q, type, &key); assert_true(rc == 0); - rc = ssh_pki_export_publickey_base64(key, &b64_key); + rc = ssh_pki_export_pubkey_base64(key, &b64_key); assert_true(rc == 0); assert_string_equal(q, b64_key); @@ -391,7 +391,7 @@ static void torture_generate_pubkey_from_privkey(void **state) { pubkey = ssh_pki_publickey_from_privatekey(privkey); assert_true(pubkey != NULL); - rc = ssh_pki_export_publickey_file(pubkey, LIBSSH_DSA_TESTKEY ".pub"); + rc = ssh_pki_export_pubkey_file(pubkey, LIBSSH_DSA_TESTKEY ".pub"); assert_true(rc == 0); rc = torture_read_one_line(LIBSSH_DSA_TESTKEY ".pub", -- cgit