diff options
author | des <des@FreeBSD.org> | 2002-04-14 22:30:54 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-04-14 22:30:54 +0000 |
commit | 6b6956a9f080a01615ac7ee961565200b3f64bb6 (patch) | |
tree | c18198ce0481a0db5978dd2d2d0f2f8ed53b82e1 /contrib/pam_modules/pam_passwdqc/passwdqc.h | |
parent | 4532f219fa85b9c06b3f4caaa4dcbbdbf3bd32f5 (diff) | |
download | FreeBSD-src-6b6956a9f080a01615ac7ee961565200b3f64bb6.zip FreeBSD-src-6b6956a9f080a01615ac7ee961565200b3f64bb6.tar.gz |
Bug & warning fixes; pretty much what will become 0.5 later this week.
Submitted by: Solar Designer <solar@openwall.com>
Diffstat (limited to 'contrib/pam_modules/pam_passwdqc/passwdqc.h')
-rw-r--r-- | contrib/pam_modules/pam_passwdqc/passwdqc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/pam_modules/pam_passwdqc/passwdqc.h b/contrib/pam_modules/pam_passwdqc/passwdqc.h index f051671..4767d6b 100644 --- a/contrib/pam_modules/pam_passwdqc/passwdqc.h +++ b/contrib/pam_modules/pam_passwdqc/passwdqc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000,2001 by Solar Designer. See LICENSE. + * Copyright (c) 2000-2002 by Solar Designer. See LICENSE. */ #ifndef _PASSWDQC_H @@ -17,8 +17,8 @@ typedef struct { extern char _passwdqc_wordset_4k[0x1000][6]; -extern char *_passwdqc_check(passwdqc_params_t *params, - char *newpass, char *oldpass, struct passwd *pw); +extern const char *_passwdqc_check(passwdqc_params_t *params, + const char *newpass, const char *oldpass, struct passwd *pw); extern char *_passwdqc_random(passwdqc_params_t *params); #endif |