diff options
Diffstat (limited to 'source4/torture/drs')
-rw-r--r-- | source4/torture/drs/drs_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/drs/drs_util.c b/source4/torture/drs/drs_util.c index b8602c7e55..d1a1497ea3 100644 --- a/source4/torture/drs/drs_util.c +++ b/source4/torture/drs/drs_util.c @@ -54,7 +54,7 @@ bool drs_util_oid_from_attid(struct torture_context *tctx, && (*map_entry->oid.binary_oid == 0xFF), "Last entry in Prefix Map is not the special one!"); - /* locate correspoding prefixMap entry */ + /* locate corresponding prefixMap entry */ map_entry = NULL; for (i = 0; i < prefix_map->num_mappings - 1; i++) { @@ -81,7 +81,7 @@ bool drs_util_oid_from_attid(struct torture_context *tctx, if (lo_word >= 32768) { lo_word -= 32768; } - bin_oid.data[bin_oid.length-2] = ((lo_word / 128) % 128) + 128; // (0x80 | ((lo_word>>7)&0x7f)) + bin_oid.data[bin_oid.length-2] = ((lo_word / 128) % 128) + 128; // (0x80 | ((lo_word>>7) & 0x7f)) bin_oid.data[bin_oid.length-1] = lo_word % 128; // lo_word & 0x7f } |