aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_ntor_cl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_ntor_cl.c')
-rw-r--r--src/test/test_ntor_cl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/test_ntor_cl.c b/src/test/test_ntor_cl.c
index 6df123162e..49c9ad76d4 100644
--- a/src/test/test_ntor_cl.c
+++ b/src/test/test_ntor_cl.c
@@ -153,7 +153,10 @@ main(int argc, char **argv)
if (argc < 2) {
fprintf(stderr, "I need arguments. Read source for more info.\n");
return 1;
- } else if (!strcmp(argv[1], "client1")) {
+ }
+
+ curve25519_init();
+ if (!strcmp(argv[1], "client1")) {
return client1(argc, argv);
} else if (!strcmp(argv[1], "server1")) {
return server1(argc, argv);