1 /* Author: Wietse Venema, Eindhoven University of Technology.
5 static const char rcsid[] =
6 "$FreeBSD: src/libexec/ftpd/skey-stuff.c,v 1.12 1999/08/28 00:09:32 peter Exp $";
15 /* skey_challenge - additional password prompt stuff */
17 char *skey_challenge(name, pwd, pwok)
25 /* Display s/key challenge where appropriate. */
28 if (pwd == NULL || skeychallenge(&skey, pwd->pw_name, buf))
29 snprintf(buf, sizeof(buf), "Password required for %s.", name);
31 strcat(buf, " (s/key required)");