summaryrefslogtreecommitdiff
path: root/examples/echo
diff options
context:
space:
mode:
authorArtyom Poptsov <poptsov.artyom@gmail.com>2014-03-22 11:22:53 +0400
committerArtyom Poptsov <poptsov.artyom@gmail.com>2014-03-22 11:22:53 +0400
commit20836b5a3d6704b28b2e123683848e44b59c5093 (patch)
treed97242ab0062b41b3291734781eb68dacdfaa605 /examples/echo
parentThank Ludovic. (diff)
downloadguile-ssh-20836b5a3d6704b28b2e123683848e44b59c5093.tar.gz
ssh/auth.c: Remove username form parameter list of functions.
* ssh/auth.c (guile_ssh_userauth_pubkey): Don't take a username as an parameter. All callers updated. (guile_ssh_userauth_password): Likewise. * examples/ssshd.scm.in (handle-req-auth): Update. * examples/echo/client.scm.in (main): Update. * tests/client-server.scm ("userauth-password!, success") ("userauth-password!, denied", "userauth-password!, partial") ("userauth-pubkey!, success"): Update TCs. * doc/api-auth.texi (Auth): Update documentation for `userauth-pubkey!' and `userauth-password!'. Add a general note about setting of a username. * doc/version.texi: Update.
Diffstat (limited to 'examples/echo')
-rw-r--r--examples/echo/client.scm.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/echo/client.scm.in b/examples/echo/client.scm.in
index ac6605c..ac3ecce 100644
--- a/examples/echo/client.scm.in
+++ b/examples/echo/client.scm.in
@@ -148,7 +148,7 @@ errors."
(let* ((private-key (get-prvkey session identity-file))
(public-key (get-pubkey session private-key)))
- (if (eqv? (userauth-pubkey! session #f public-key private-key) 'error)
+ (if (eqv? (userauth-pubkey! session public-key private-key) 'error)
(handle-error session))
(let ((channel (make-channel session)))