summaryrefslogtreecommitdiff
path: root/ecp/test/client.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2024-04-27 01:23:43 +0200
committerUros Majstorovic <majstor@majstor.org>2024-04-27 01:23:43 +0200
commit38fdc24c2cc0c942337481e825c69004c93fc358 (patch)
tree46835e29b2ae3db88035c26359415c22587b777c /ecp/test/client.c
parent45e53e043ea0512215316a5ba21bd4cfd0a300e1 (diff)
updated tests
Diffstat (limited to 'ecp/test/client.c')
-rw-r--r--ecp/test/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecp/test/client.c b/ecp/test/client.c
index 52a8587..af905d5 100644
--- a/ecp/test/client.c
+++ b/ecp/test/client.c
@@ -64,8 +64,8 @@ int main(int argc, char *argv[]) {
rv = ecp_start_receiver(&sock);
printf("ecp_start_receiver RV:%d\n", rv);
- rv = ecp_util_load_pub(&node_pub, argv[2]);
- printf("ecp_util_load_pub RV:%d\n", rv);
+ rv = ecp_util_load_key(argv[2], &node_pub, NULL);
+ printf("ecp_util_load_key RV:%d\n", rv);
ecp_node_init(&node, &node_pub, NULL);
rv = ecp_node_set_addr(&node, argv[1]);