summaryrefslogtreecommitdiff
path: root/ecp/test/frag.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-08-31 11:14:41 +0200
committerUros Majstorovic <majstor@majstor.org>2021-08-31 11:14:41 +0200
commit2a46bdf517eb5fcb8ba59c398a32859c6496475d (patch)
treed8773d60c6827cf6499b9fda98323feabc10e63f /ecp/test/frag.c
parentff7ffade2f5686ae977af578cb87040cc4654994 (diff)
transient messages added; code cleanup
Diffstat (limited to 'ecp/test/frag.c')
-rw-r--r--ecp/test/frag.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ecp/test/frag.c b/ecp/test/frag.c
index 2bba856..bf7c1a2 100644
--- a/ecp/test/frag.c
+++ b/ecp/test/frag.c
@@ -71,8 +71,8 @@ int main(int argc, char *argv[]) {
handler_s.msg[MTYPE_MSG] = handle_msg_s;
ctx_s.handler[CTYPE_TEST] = &handler_s;
- rv = ecp_dhkey_generate(&ctx_s, &key_perma_s);
- printf("ecp_dhkey_generate RV:%d\n", rv);
+ rv = ecp_dhkey_gen(&ctx_s, &key_perma_s);
+ printf("ecp_dhkey_gen RV:%d\n", rv);
rv = ecp_sock_create(&sock_s, &ctx_s, &key_perma_s);
printf("ecp_sock_create RV:%d\n", rv);
@@ -91,8 +91,8 @@ int main(int argc, char *argv[]) {
handler_c.msg[MTYPE_MSG] = handle_msg_c;
ctx_c.handler[CTYPE_TEST] = &handler_c;
- rv = ecp_dhkey_generate(&ctx_c, &key_perma_c);
- printf("ecp_dhkey_generate RV:%d\n", rv);
+ rv = ecp_dhkey_gen(&ctx_c, &key_perma_c);
+ printf("ecp_dhkey_gen RV:%d\n", rv);
rv = ecp_sock_create(&sock_c, &ctx_c, &key_perma_c);
printf("ecp_sock_create RV:%d\n", rv);