Spring cleaning redux:
- Implemented changes suggested by Jilles - Remove some unused parameters in functions - Remove some unused ssl procs - 63-bit time_t support in TS deltas - const char * vs char * cleanup - struct alignment (void *) casts - signed vs unsigned fixes - bad memset() call - Bad LT_MAIN in libratbox - char -> unsigned char casts for isdigit/isspace/etc calls Thanks Jilles!
This commit is contained in:
parent
32fb589528
commit
29c92cf95f
40 changed files with 97 additions and 131 deletions
|
@ -55,9 +55,6 @@ static void brief_usage(void);
|
|||
static char saltChars[] = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
||||
/* 0 .. 63, ascii - 64 */
|
||||
|
||||
extern char *optarg;
|
||||
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#include <conio.h>
|
||||
#ifdef PASS_MAX
|
||||
|
@ -72,7 +69,7 @@ getpass(const char *prompt)
|
|||
int c;
|
||||
int i = 0;
|
||||
|
||||
memset(getpassbuf, sizeof(getpassbuf), 0);
|
||||
memset(getpassbuf, 0, sizeof(getpassbuf));
|
||||
fputs(prompt, stderr);
|
||||
for(;;)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue