When doing a ReadSecret return "BINARY - cannot modify" for binary keys. This prevents the c code from failing when parsing the keys and values.
This commit is contained in:
parent
1aa7eac4f9
commit
6a7f038ef4
6
CASA/micasad/cache/Secret.cs
vendored
6
CASA/micasad/cache/Secret.cs
vendored
@ -169,9 +169,9 @@ namespace sscs.cache
|
||||
|
||||
sb.Append(kv.Key);
|
||||
sb.Append("=");
|
||||
//if (kv.GetValueType() ==(KeyValue.VALUE_TYPE_BINARY))
|
||||
// sb.Append("BINARY - Do not change");
|
||||
//else
|
||||
if (kv.GetValueType() ==(KeyValue.VALUE_TYPE_BINARY))
|
||||
sb.Append("BINARY - Cannot modify");
|
||||
else
|
||||
sb.Append(kv.GetValue());
|
||||
sb.Append('\n');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user