summaryrefslogtreecommitdiff
path: root/ecp/util
diff options
context:
space:
mode:
Diffstat (limited to 'ecp/util')
-rw-r--r--ecp/util/mknode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp/util/mknode.c b/ecp/util/mknode.c
index 882c58d..0c262fe 100644
--- a/ecp/util/mknode.c
+++ b/ecp/util/mknode.c
@@ -45,7 +45,7 @@ int main(int argc, char *argv[]) {
if (rv) goto err;
ctx.rng = v_rng;
- rv = ecp_dhkey_generate(&ctx, &key);
+ rv = ecp_dhkey_gen(&ctx, &key);
if (rv) goto err;
rv = ecp_node_init(&node, &key.public, (argc == 3) ? argv[2] : NULL);