Bug 143859. Fix linking keys problem.
This commit is contained in:
@@ -431,7 +431,8 @@ namespace sscs.verbs
|
||||
if (targetSecret != null)
|
||||
{
|
||||
// get target key value
|
||||
string targetkv = targetSecret.GetKeyValue(linkedInfo.GetLinkedKeyID()).GetValue();
|
||||
string targetKey = linkedInfo.GetLinkedKeyID();
|
||||
string targetkv = targetSecret.GetKeyValue(targetKey).GetValue();
|
||||
|
||||
// if a change is required in the target, then call this method recursively using the TargetSecret
|
||||
if (!targetkv.Equals(valStr))
|
||||
@@ -441,7 +442,7 @@ namespace sscs.verbs
|
||||
targetSecret.SetKeyValue(linkedInfo.GetLinkedKeyID(), valStr);
|
||||
|
||||
// now call the traget to change it's linked ones
|
||||
ChangeLinkedKeys(keyChain, targetSecret, key, valStr);
|
||||
ChangeLinkedKeys(keyChain, targetSecret, targetKey, valStr);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -284,7 +284,8 @@ namespace sscs.verbs
|
||||
if (targetSecret != null)
|
||||
{
|
||||
// get target key value
|
||||
string targetkv = targetSecret.GetKeyValue(linkedInfo.GetLinkedKeyID()).GetValue();
|
||||
string targetKey = linkedInfo.GetLinkedKeyID();
|
||||
string targetkv = targetSecret.GetKeyValue(targetKey).GetValue();
|
||||
|
||||
// if a change is required in the target, then call this method recursively using the TargetSecret
|
||||
if (!targetkv.Equals(valStr))
|
||||
@@ -294,7 +295,7 @@ namespace sscs.verbs
|
||||
targetSecret.SetKeyValue(linkedInfo.GetLinkedKeyID(), valStr);
|
||||
|
||||
// now call the traget to change it's linked ones
|
||||
ChangeLinkedKeys(keyChain, targetSecret, key, valStr);
|
||||
ChangeLinkedKeys(keyChain, targetSecret, targetKey, valStr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -284,7 +284,8 @@ namespace sscs.verbs
|
||||
if (targetSecret != null)
|
||||
{
|
||||
// get target key value
|
||||
string targetkv = targetSecret.GetKeyValue(linkedInfo.GetLinkedKeyID()).GetValue();
|
||||
string targetKey = linkedInfo.GetLinkedKeyID();
|
||||
string targetkv = targetSecret.GetKeyValue(targetKey).GetValue();
|
||||
|
||||
// if a change is required in the target, then call this method recursively using the TargetSecret
|
||||
if (!targetkv.Equals(valStr))
|
||||
@@ -294,7 +295,7 @@ namespace sscs.verbs
|
||||
targetSecret.SetKeyValue(linkedInfo.GetLinkedKeyID(), valStr);
|
||||
|
||||
// now call the traget to change it's linked ones
|
||||
ChangeLinkedKeys(keyChain, targetSecret, key, valStr);
|
||||
ChangeLinkedKeys(keyChain, targetSecret, targetKey, valStr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user