Fix condition for setting identity subject in remote rights
Signed-off-by: Dennis Potman <dennis.potman@adlinktech.com>
This commit is contained in:
parent
19bc6f33cc
commit
e8c349f96d
1 changed files with 3 additions and 3 deletions
|
@ -272,11 +272,11 @@ ac_remote_participant_access_rights_new(
|
|||
{
|
||||
rights->permissions->ref_cnt++;
|
||||
if (rights->permissions->remote_permissions_token_class_id == NULL)
|
||||
{
|
||||
rights->permissions->remote_permissions_token_class_id = ddsrt_strdup(remote_permissions_token->class_id);
|
||||
else
|
||||
assert (strcmp (rights->permissions->remote_permissions_token_class_id, remote_permissions_token->class_id) == 0);
|
||||
rights->identity_subject_name = ddsrt_strdup(identity_subject);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
assert(identity_subject == NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue