diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-05-03 23:07:48 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-05-03 23:07:48 +0800 |
commit | 95a21c8fd796c570e8660db983b3032af96ec5cb (patch) | |
tree | 05347fa8c369407065cccb05806a06593f8a6bc4 /svr-main.c | |
parent | 79660f2eb1c64bcac9ba0084f9d3822ee88dbd5c (diff) |
ecdsa is working
--HG--
branch : ecc
Diffstat (limited to 'svr-main.c')
-rw-r--r-- | svr-main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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(); } |