summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/util/genrand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/genrand.c b/lib/util/genrand.c
index 02b8d8b478..f8aceae40a 100644
--- a/lib/util/genrand.c
+++ b/lib/util/genrand.c
@@ -368,7 +368,7 @@ again:
_PUBLIC_ char *generate_random_password(TALLOC_CTX *mem_ctx, size_t min, size_t max)
{
char *retstr;
- const char *c_list = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+_-#.,@$%&!?:;<=>(){}[]~";
+ const char *c_list = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+_-#.,@$%&!?:;<=>()[]~";
size_t len = max;
size_t diff;