summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/extern.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1996-10-17 17:06:04 +0000
committerache <ache@FreeBSD.org>1996-10-17 17:06:04 +0000
commit79889c2b44f477a2bf3d5874e7f6759a16d6ab81 (patch)
treeb6624dc8cc1a8ab684bda0da8a54adc5cc71f89f /libexec/ftpd/extern.h
parent1d189e339e73ad78eb02819112a70a5595c9b6b0 (diff)
downloadFreeBSD-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.h4
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
OpenPOWER on IntegriCloud