aboutsummaryrefslogtreecommitdiff
path: root/libssh/keyfiles.c
diff options
context:
space:
mode:
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;