diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-09-23 23:51:04 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-09-23 23:51:04 +0200 |
commit | f84ebc2e2770b16b43c62ecb67cf8d4bd1b99d72 (patch) | |
tree | 82abdf7a1e84c9a281f622e38247e67563d68ffa /libssh/keyfiles.c | |
parent | b359229a2ea6f8b623add9bea02015991c8d6e9d (diff) | |
download | libssh-f84ebc2e2770b16b43c62ecb67cf8d4bd1b99d72.tar.gz libssh-f84ebc2e2770b16b43c62ecb67cf8d4bd1b99d72.tar.xz libssh-f84ebc2e2770b16b43c62ecb67cf8d4bd1b99d72.zip |
Moved lots of declaration out of priv.h
Diffstat (limited to 'libssh/keyfiles.c')
-rw-r--r-- | libssh/keyfiles.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libssh/keyfiles.c b/libssh/keyfiles.c index c292d5d..2a197aa 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 <gcrypt.h> @@ -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); |