summaryrefslogtreecommitdiff
path: root/ecp/test/vc_outb.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/vc_outb.c
parent45e53e043ea0512215316a5ba21bd4cfd0a300e1 (diff)
updated tests
Diffstat (limited to 'ecp/test/vc_outb.c')
-rw-r--r--ecp/test/vc_outb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ecp/test/vc_outb.c b/ecp/test/vc_outb.c
index 6018602..cc772d5 100644
--- a/ecp/test/vc_outb.c
+++ b/ecp/test/vc_outb.c
@@ -107,11 +107,11 @@ int main(int argc, char *argv[]) {
rv = ecp_start_receiver(&sock);
printf("ecp_start_receiver RV:%d\n", rv);
- rv = ecp_util_load_pub(&remote_pub, argv[1]);
- printf("ecp_util_load_pub RV:%d\n", rv);
+ rv = ecp_util_load_key(argv[1], &remote_pub, NULL);
+ printf("ecp_util_load_key RV:%d\n", rv);
- rv = ecp_util_load_pub(&dir_pub, argv[2]);
- printf("ecp_util_load_pub RV:%d\n", rv);
+ rv = ecp_util_load_key(argv[2], &dir_pub, NULL);
+ printf("ecp_util_load_key RV:%d\n", rv);
ecp_node_init(&node_dir, &dir_pub, NULL);
rv = ecp_node_set_addr(&node_dir, argv[3]);