diff options
author | ache <ache@FreeBSD.org> | 1996-10-17 17:06:04 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-10-17 17:06:04 +0000 |
commit | 79889c2b44f477a2bf3d5874e7f6759a16d6ab81 (patch) | |
tree | b6624dc8cc1a8ab684bda0da8a54adc5cc71f89f /libexec/ftpd/extern.h | |
parent | 1d189e339e73ad78eb02819112a70a5595c9b6b0 (diff) | |
download | FreeBSD-src-79889c2b44f477a2bf3d5874e7f6759a16d6ab81.zip FreeBSD-src-79889c2b44f477a2bf3d5874e7f6759a16d6ab81.tar.gz |
Don't ever ask for password if it is impossible to confirm it
It happens if 1) regular passwords not allowed, 2) skey database
not activated for given user.
Under some rare circumstanes skey_challenge can return empty
diagnostic or even previous buffer, fix it.
Diffstat (limited to 'libexec/ftpd/extern.h')
-rw-r--r-- | libexec/ftpd/extern.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ftpd/extern.h b/libexec/ftpd/extern.h index ff1cdfb..bdfed86 100644 --- a/libexec/ftpd/extern.h +++ b/libexec/ftpd/extern.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)extern.h 8.2 (Berkeley) 4/4/94 - * $Id$ + * $Id: extern.h,v 1.4 1996/09/22 21:53:21 wosch Exp $ */ void blkfree __P((char **)); @@ -68,5 +68,5 @@ void user __P((char *)); void yyerror __P((char *)); int yyparse __P((void)); #if defined(SKEY) && defined(_PWD_H_) /* XXX evil */ -char *skey_challenge __P((char *, struct passwd *, int)); +char *skey_challenge __P((char *, struct passwd *, int, int *)); #endif |