1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

s4:torture: Normalizes names in session_key test

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12433

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Andreas Schneider 2016-11-17 15:44:13 +01:00 committed by Jeremy Allison
parent 80f7f568f8
commit 31d21de548

View File

@ -53,7 +53,7 @@ static bool test_CreateSecret_basic(struct dcerpc_pipe *p,
char *secname;
struct dcerpc_binding_handle *b = p->binding_handle;
secname = talloc_asprintf(tctx, "torturesecret-%u", (unsigned int)random());
secname = talloc_asprintf(tctx, "torturesecret-%08x", (unsigned int)random());
torture_comment(tctx, "Testing CreateSecret of %s\n", secname);