summaryrefslogtreecommitdiff
path: root/dropbearkey.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2006-06-07 15:01:20 +0000
committerMatt Johnston <matt@ucc.asn.au>2006-06-07 15:01:20 +0000
commit19ad77cc512bbf8bccb3892ed183a7ba66d5b311 (patch)
tree80a81ac42eecda02aac0210e34938970fa28c068 /dropbearkey.c
parentcdec63e0888cc4841cc8fcb27e6e4fc4cd836860 (diff)
downloaddropbear-19ad77cc512bbf8bccb3892ed183a7ba66d5b311.tar.gz
Add -N "no remote command" dbclient option.
Document -N in dbclient.1 and -P in dropbear.8
Diffstat (limited to 'dropbearkey.c')
-rw-r--r--dropbearkey.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dropbearkey.c b/dropbearkey.c
index 0825053..280e1b3 100644
--- a/dropbearkey.c
+++ b/dropbearkey.c
@@ -321,8 +321,7 @@ static void printpubkey(sign_key * key, int keytype) {
/* a user@host comment is informative */
username = "";
pw = getpwuid(getuid());
- if (pw)
- {
+ if (pw) {
username = pw->pw_name;
}