mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
libcli/security: Remove bool_value member
‘bool_value’ has the same type as ‘uint_value’. Removing the former avoids our having more duplicate code than is strictly necessary. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
40c5ed60ba
commit
f5568a0a5e
@ -195,7 +195,7 @@ static bool claim_v1_bool_to_ace_int(
|
||||
size_t offset,
|
||||
struct ace_condition_token *result)
|
||||
{
|
||||
uint64_t v = *claim->values[offset].bool_value;
|
||||
uint64_t v = *claim->values[offset].uint_value;
|
||||
result->type = CONDITIONAL_ACE_TOKEN_INT64;
|
||||
result->data.int64.base = CONDITIONAL_ACE_INT_BASE_10;
|
||||
result->data.int64.sign = CONDITIONAL_ACE_INT_SIGN_NONE;
|
||||
|
@ -645,7 +645,7 @@ interface security
|
||||
[case(CLAIM_SECURITY_ATTRIBUTE_TYPE_STRING),relative] nstring *string_value;
|
||||
[case(CLAIM_SECURITY_ATTRIBUTE_TYPE_SID),relative] DATA_BLOB *sid_value;
|
||||
[case(CLAIM_SECURITY_ATTRIBUTE_TYPE_OCTET_STRING),relative] DATA_BLOB *octet_value;
|
||||
[case(CLAIM_SECURITY_ATTRIBUTE_TYPE_BOOLEAN),relative] hyper *bool_value;
|
||||
[case(CLAIM_SECURITY_ATTRIBUTE_TYPE_BOOLEAN),relative] hyper *uint_value;
|
||||
} claim_values;
|
||||
|
||||
typedef [public,gensize] struct {
|
||||
|
Loading…
Reference in New Issue
Block a user