From 95a21c8fd796c570e8660db983b3032af96ec5cb Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Fri, 3 May 2013 23:07:48 +0800 Subject: ecdsa is working --HG-- branch : ecc --- svr-main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'svr-main.c') diff --git a/svr-main.c b/svr-main.c index 461aeaf..5e4150a 100644 --- a/svr-main.c +++ b/svr-main.c @@ -29,6 +29,7 @@ #include "signkey.h" #include "runopts.h" #include "random.h" +#include "crypto_desc.h" static size_t listensockets(int *sock, size_t sockcount, int *maxfd); static void sigchld_handler(int dummy); @@ -383,9 +384,11 @@ static void commonsetup() { dropbear_exit("signal() error"); } + crypto_init(); + /* Now we can setup the hostkeys - needs to be after logging is on, * otherwise we might end up blatting error messages to the socket */ - loadhostkeys(); + load_all_hostkeys(); seedrandom(); } -- cgit v1.2.3