summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/skey-stuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ftpd/skey-stuff.c')
-rw-r--r--libexec/ftpd/skey-stuff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/ftpd/skey-stuff.c b/libexec/ftpd/skey-stuff.c
index fdec650..5c34b9b 100644
--- a/libexec/ftpd/skey-stuff.c
+++ b/libexec/ftpd/skey-stuff.c
@@ -18,6 +18,7 @@ int pwok;
/* Display s/key challenge where appropriate. */
if (pwd == 0 || skeychallenge(&skey, pwd->pw_name, buf) != 0)
- sprintf(buf, "Password required for %s.", name);
+ sprintf(buf, "%s required for %s.",
+ pwok ? "Password" : "S/Key password", name);
return (buf);
}
OpenPOWER on IntegriCloud