From 8a536be70511e78befa08475a109a231cde0cd0e Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 3 May 2016 11:12:39 -0400 Subject: Mark unreachable lines in crypto_curve25519.c Also, resolve a bug in test_ntor_cl.c --- src/test/test_ntor_cl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/test/test_ntor_cl.c') 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); -- cgit v1.2.3-54-g00ecf