From 8ea6c6147794477a88cd981ef0634bb46cd16b25 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Tue, 16 Jul 2013 17:15:03 +0200 Subject: [PATCH] Rename of prvkey -> privkey fix in test suite files --- tests/suites/test_suite_ecp.data | 4 ++-- tests/suites/test_suite_ecp.function | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/suites/test_suite_ecp.data b/tests/suites/test_suite_ecp.data index d19e41863..73acb4fb3 100644 --- a/tests/suites/test_suite_ecp.data +++ b/tests/suites/test_suite_ecp.data @@ -245,8 +245,8 @@ ECP tls write-read group #2 depends_on:POLARSSL_ECP_DP_SECP521R1_ENABLED ecp_tls_write_read_group:SECP521R1 -ECP check prvkey -ecp_check_prvkey:SECP192R1 +ECP check privkey +ecp_check_privkey:SECP192R1 ECP gen keypair depends_on:POLARSSL_ECP_DP_SECP192R1_ENABLED diff --git a/tests/suites/test_suite_ecp.function b/tests/suites/test_suite_ecp.function index 1d3d3dfc2..543175f30 100644 --- a/tests/suites/test_suite_ecp.function +++ b/tests/suites/test_suite_ecp.function @@ -438,7 +438,7 @@ ecp_tls_write_read_group:id END_CASE BEGIN_CASE -ecp_check_prvkey:id +ecp_check_privkey:id { ecp_group grp; mpi d; @@ -449,10 +449,10 @@ ecp_check_prvkey:id TEST_ASSERT( ecp_use_known_dp( &grp, POLARSSL_ECP_DP_{id} ) == 0 ); TEST_ASSERT( mpi_lset( &d, 0 ) == 0 ); - TEST_ASSERT( ecp_check_prvkey( &grp, &d ) == POLARSSL_ERR_ECP_GENERIC ); + TEST_ASSERT( ecp_check_privkey( &grp, &d ) == POLARSSL_ERR_ECP_GENERIC ); TEST_ASSERT( mpi_copy( &d, &grp.N ) == 0 ); - TEST_ASSERT( ecp_check_prvkey( &grp, &d ) == POLARSSL_ERR_ECP_GENERIC ); + TEST_ASSERT( ecp_check_privkey( &grp, &d ) == POLARSSL_ERR_ECP_GENERIC ); ecp_group_free( &grp ); mpi_free( &d ); @@ -478,7 +478,7 @@ ecp_gen_keypair:id == 0 ); TEST_ASSERT( ecp_check_pubkey( &grp, &Q ) == 0 ); - TEST_ASSERT( ecp_check_prvkey( &grp, &d ) == 0 ); + TEST_ASSERT( ecp_check_privkey( &grp, &d ) == 0 ); ecp_group_free( &grp ); ecp_point_free( &Q );