summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-04-09 12:26:06 +0200
committerGünther Deschner <gd@samba.org>2010-04-09 13:57:17 +0200
commit299a6ffe9eb88b5907ca98ad06f9d6ac253945e0 (patch)
treec8fb13415d39cb587b350ac68cc9542af27cf510
parentab27c6d138277a01a40c3f6dd735512d466ea722 (diff)
downloadsamba-299a6ffe9eb88b5907ca98ad06f9d6ac253945e0.tar.gz
samba-299a6ffe9eb88b5907ca98ad06f9d6ac253945e0.tar.bz2
samba-299a6ffe9eb88b5907ca98ad06f9d6ac253945e0.zip
s4-smbtorture: winreg keytype options is a bitmask.
Guenther
-rw-r--r--source4/torture/rpc/winreg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c
index 4ae3631f7b..fad4957c5a 100644
--- a/source4/torture/rpc/winreg.c
+++ b/source4/torture/rpc/winreg.c
@@ -114,7 +114,7 @@ static bool test_CreateKey_opts(struct torture_context *tctx,
struct policy_handle *handle,
const char *name,
const char *kclass,
- enum winreg_KeyType options,
+ uint32_t options,
uint32_t access_mask,
struct winreg_SecBuf *secdesc,
WERROR expected_result,
@@ -393,7 +393,7 @@ static bool test_OpenKey_opts(struct torture_context *tctx,
struct dcerpc_binding_handle *b,
struct policy_handle *hive_handle,
const char *keyname,
- enum winreg_KeyType options,
+ uint32_t options,
uint32_t access_mask,
struct policy_handle *key_handle,
WERROR expected_result)