diff options
Diffstat (limited to 'ecp/test/vc_outb.c')
-rw-r--r-- | ecp/test/vc_outb.c | 8 |
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]); |