* src/chgpasswd.c: Add splint annotations.
* src/chpasswd.c: Likewise. * src/newusers.c: Likewise. * libmisc/salt.c, lib/prototypes.h (crypt_make_salt): Likewise.
This commit is contained in:
@@ -65,7 +65,7 @@ static bool md5flg = false;
|
||||
static bool sflg = false;
|
||||
#endif
|
||||
|
||||
static const char *crypt_method = NULL;
|
||||
static /*@null@*//*@observer@*/const char *crypt_method = NULL;
|
||||
#ifdef USE_SHA_CRYPT
|
||||
static long sha_rounds = 5000;
|
||||
#endif
|
||||
|
||||
@@ -62,7 +62,7 @@ static bool md5flg = false;
|
||||
static bool sflg = false;
|
||||
#endif /* USE_SHA_CRYPT */
|
||||
|
||||
static const char *crypt_method = NULL;
|
||||
static /*@null@*//*@observer@*/const char *crypt_method = NULL;
|
||||
#ifdef USE_SHA_CRYPT
|
||||
static long sha_rounds = 5000;
|
||||
#endif /* USE_SHA_CRYPT */
|
||||
|
||||
@@ -75,7 +75,7 @@ const char *Prog;
|
||||
static bool rflg = false; /* create a system account */
|
||||
#ifndef USE_PAM
|
||||
static bool cflg = false;
|
||||
static char *crypt_method = NULL;
|
||||
static /*@null@*//*@observer@*/char *crypt_method = NULL;
|
||||
#ifdef USE_SHA_CRYPT
|
||||
static bool sflg = false;
|
||||
static long sha_rounds = 5000;
|
||||
|
||||
Reference in New Issue
Block a user