aboutsummaryrefslogtreecommitdiff
path: root/pw_rand.c
diff options
context:
space:
mode:
authorPhilipp Klaus <philipp.klaus@gmail.com>2011-06-21 17:12:21 +0200
committerPhilipp Klaus <philipp.klaus@gmail.com>2011-06-21 17:12:21 +0200
commit468a1f0c5bd165b6d0647b184885eb2040d7ddf4 (patch)
tree8b8116449edf5447bb3c86900007e805aac312df /pw_rand.c
parent6fe4e7f082beca523e237db60807e2d3535fee45 (diff)
downloadpwgen-468a1f0c5bd165b6d0647b184885eb2040d7ddf4.zip
automatic commit for pwgen-2.02
Diffstat (limited to 'pw_rand.c')
-rw-r--r--pw_rand.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pw_rand.c b/pw_rand.c
index e42a656..e49ff76 100644
--- a/pw_rand.c
+++ b/pw_rand.c
@@ -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)
{