From 6a7f038ef4879078eb31e3613487b23476b0343f Mon Sep 17 00:00:00 2001 From: Jim Norman Date: Wed, 28 Feb 2007 21:32:10 +0000 Subject: [PATCH] When doing a ReadSecret return "BINARY - cannot modify" for binary keys. This prevents the c code from failing when parsing the keys and values. --- CASA/micasad/cache/Secret.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CASA/micasad/cache/Secret.cs b/CASA/micasad/cache/Secret.cs index 5b7040a5..8914ba16 100644 --- a/CASA/micasad/cache/Secret.cs +++ b/CASA/micasad/cache/Secret.cs @@ -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'); }