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:
		
							
								
								
									
										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'); | ||||
|                 } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user