aboutsummaryrefslogtreecommitdiff
path: root/tests/test-rpc_pkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-rpc_pkey.c')
-rw-r--r--tests/test-rpc_pkey.c8
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]);