diff options
Diffstat (limited to 'pw_rand.c')
| -rw-r--r-- | pw_rand.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,18 +2,19 @@ * pw_rand.c --- generate completely random (and hard to remember) * passwords * - * Copyright (C) 2001 by Theodore Ts'o + * Copyright (C) 2001,2002 by Theodore Ts'o * * This file may be distributed under the terms of the GNU Public * License. */ +#include <string.h> #include "pwgen.h" #define FIRST_CHAR '!' #define LAST_CHAR '~' -static char bad_chars[] = "'\\\""; +static char bad_chars[] = "'\\\"!@#$%^&*()+=_-{}[]<>`~?:;,/.|"; void pw_rand(char *buf, int size, int pw_flags) { |