aboutsummaryrefslogtreecommitdiff
path: root/src/pki_gcrypt.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-16 22:24:31 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-16 23:04:25 +0200
commitddcb88070be3060ee2ab089d292b9eb357c30ed7 (patch)
tree45a36fc2abb96cddbe8d06152b952c896cfdacad /src/pki_gcrypt.c
parent1a0fbedc2e7bc688ce380bbb465a5e1710355666 (diff)
downloadlibssh-ddcb88070be3060ee2ab089d292b9eb357c30ed7.tar.gz
libssh-ddcb88070be3060ee2ab089d292b9eb357c30ed7.tar.xz
libssh-ddcb88070be3060ee2ab089d292b9eb357c30ed7.zip
misc: Remove session from ssh_get_local_username().
Diffstat (limited to 'src/pki_gcrypt.c')
-rw-r--r--src/pki_gcrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pki_gcrypt.c b/src/pki_gcrypt.c
index 5470d118..53509002 100644
--- a/src/pki_gcrypt.c
+++ b/src/pki_gcrypt.c
@@ -1247,7 +1247,7 @@ int ssh_publickey_to_file(ssh_session session, const char *file,
return SSH_ERROR;
}
- user = ssh_get_local_username(session);
+ user = ssh_get_local_username();
if (user == NULL) {
SAFE_FREE(pubkey_64);
return SSH_ERROR;