1 /* Author: Wietse Venema, Eindhoven University of Technology.
3 * $FreeBSD: src/libexec/ftpd/skey-stuff.c,v 1.12 1999/08/28 00:09:32 peter Exp $
4 * $DragonFly: src/libexec/ftpd/skey-stuff.c,v 1.2 2003/06/17 04:27:07 dillon Exp $
13 /* skey_challenge - additional password prompt stuff */
15 char *skey_challenge(name
, pwd
, pwok
)
23 /* Display s/key challenge where appropriate. */
26 if (pwd
== NULL
|| skeychallenge(&skey
, pwd
->pw_name
, buf
))
27 snprintf(buf
, sizeof(buf
), "Password required for %s.", name
);
29 strcat(buf
, " (s/key required)");