s3: "hex_encode" does the same as "binary_string"
authorVolker Lendecke <vl@samba.org>
Mon, 14 Mar 2011 07:09:21 +0000 (08:09 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 15 Mar 2011 08:15:35 +0000 (09:15 +0100)
source3/lib/util_sid.c

index f6210c13fd9caf2710ad1b56d72bc1b12e9c9b8b..ef46a38f8aac6d988a5e691a1560d4d7d8e9e8cc 100644 (file)
@@ -121,7 +121,7 @@ char *sid_binstring_hex(const struct dom_sid *sid)
        if (!buf)
                return NULL;
        sid_linearize(buf, len, sid);
-       s = binary_string(buf, len);
+       hex_encode(buf, len, &s);
        free(buf);
        return s;
 }