diff options
author | Paul Selkirk <paul@psgd.org> | 2016-03-29 16:43:42 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2016-03-29 16:43:42 -0400 |
commit | 10286b1098357ed0b0cb9af0e20580b9525e9926 (patch) | |
tree | e3d768105070a3a659bc39ee77303bb3e770187e /tests/test-rpc_pkey.c | |
parent | 8a01c20cd38da6ff52423f02fc22d56b8ad57800 (diff) |
Remove unneeded hal_internal.h
Diffstat (limited to 'tests/test-rpc_pkey.c')
-rw-r--r-- | tests/test-rpc_pkey.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/test-rpc_pkey.c b/tests/test-rpc_pkey.c index 03404a4..f5374b3 100644 --- a/tests/test-rpc_pkey.c +++ b/tests/test-rpc_pkey.c @@ -41,9 +41,6 @@ #include <hal.h> -#warning This is wrong, nothing outside libhal itself should include hal_internal.h -#include <hal_internal.h> - #include "test-rsa.h" #include "test-ecdsa.h" @@ -321,11 +318,10 @@ static int test_ecdsa_generate(const ecdsa_tc_t * const tc) int main (int argc, char *argv[]) { - rpc_client_init(RPC_LOCAL); - // rpc_client_init(RPC_REMOTE); - int ok = 1; + hal_rpc_client_init(); + for (int i = 0; i < (sizeof(rsa_tc)/sizeof(*rsa_tc)); i++) ok &= test_rsa_testvec(&rsa_tc[i]); |