[PATCH] lib/util - Removed curly braces from generate_random_password().

Endi S. Dewata edewata at redhat.com
Wed Mar 10 19:34:01 MST 2010


---
 lib/util/genrand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/util/genrand.c b/lib/util/genrand.c
index 02b8d8b..f8aceae 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;
 
-- 
1.6.6


------=_Part_139414_1344885768.1268274743196
Content-Type: text/x-patch;
	name=0001-s4-provision-Updated-FDS-schema-mapping.patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=0001-s4-provision-Updated-FDS-schema-mapping.patch



More information about the samba-technical mailing list