From f84ebc2e2770b16b43c62ecb67cf8d4bd1b99d72 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Wed, 23 Sep 2009 23:51:04 +0200 Subject: Moved lots of declaration out of priv.h --- libssh/keyfiles.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libssh/keyfiles.c') diff --git a/libssh/keyfiles.c b/libssh/keyfiles.c index c292d5dd..2a197aad 100644 --- a/libssh/keyfiles.c +++ b/libssh/keyfiles.c @@ -36,6 +36,11 @@ #endif #include "libssh/priv.h" +#include "libssh/buffer.h" +#include "libssh/keyfiles.h" +#include "libssh/session.h" +/*todo: remove this include */ +#include "libssh/string.h" #ifdef HAVE_LIBGCRYPT #include @@ -1194,6 +1199,7 @@ static int check_public_key(ssh_session session, char **tokens) { bignum_free(tmpbn); return -1; } + /* TODO: fix the hardcoding */ tmpstring->size = htonl(len); #ifdef HAVE_LIBGCRYPT bignum_bn2bin(tmpbn, len, tmpstring->string); -- cgit v1.2.3