summaryrefslogtreecommitdiffstats
path: root/libssh/keyfiles.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2008-03-04 04:40:01 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2008-03-04 04:40:01 +0000
commit8e04bf0ef1c84e3c05551f640f8b8ac9b0dc9d50 (patch)
tree4c6e0002241f11505c9a0067e760e2bcd829a8e4 /libssh/keyfiles.c
parent77743b75f41bd353c09da6a740562d621ed9382d (diff)
downloadlibssh-8e04bf0ef1c84e3c05551f640f8b8ac9b0dc9d50.tar.gz
libssh-8e04bf0ef1c84e3c05551f640f8b8ac9b0dc9d50.tar.xz
libssh-8e04bf0ef1c84e3c05551f640f8b8ac9b0dc9d50.zip
fixed a load of ssh_set_error(NULL,...)
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@139 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/keyfiles.c')
-rw-r--r--libssh/keyfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/keyfiles.c b/libssh/keyfiles.c
index 5430b8c0..4bed7c86 100644
--- a/libssh/keyfiles.c
+++ b/libssh/keyfiles.c
@@ -937,7 +937,7 @@ int ssh_write_knownhost(SSH_SESSION *session){
Be compatible --kv */
char *e_string, *n_string;
bignum e, n;
- PUBLIC_KEY *key = publickey_from_string(pubkey);
+ PUBLIC_KEY *key = publickey_from_string(session, pubkey);
int rsa_size;
#ifdef HAVE_LIBGCRYPT
gcry_sexp_t sexp;