summaryrefslogtreecommitdiff
path: root/ecp/test/basic.c
diff options
context:
space:
mode:
Diffstat (limited to 'ecp/test/basic.c')
-rw-r--r--ecp/test/basic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ecp/test/basic.c b/ecp/test/basic.c
index 8268599..eb14b0e 100644
--- a/ecp/test/basic.c
+++ b/ecp/test/basic.c
@@ -65,8 +65,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);
@@ -85,8 +85,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);