summaryrefslogtreecommitdiff
path: root/hex.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2006-12-09 17:12:14 +0000
committerweidai <weidai11@users.noreply.github.com>2006-12-09 17:12:14 +0000
commite94ff46d6ff53fdeb53a6a6d0fae31dfdd1b719f (patch)
tree94f4b0c78bad9272d979d44df1e8e80a199a1593 /hex.h
parente23417d90afeab7b367f914028a15f92350bda8f (diff)
downloadcryptopp-git-e94ff46d6ff53fdeb53a6a6d0fae31dfdd1b719f.tar.gz
fix terminator param being ignored
Diffstat (limited to 'hex.h')
-rw-r--r--hex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hex.h b/hex.h
index 33e33301..006914c5 100644
--- a/hex.h
+++ b/hex.h
@@ -12,7 +12,7 @@ public:
HexEncoder(BufferedTransformation *attachment = NULL, bool uppercase = true, int outputGroupSize = 0, const std::string &separator = ":", const std::string &terminator = "")
: SimpleProxyFilter(new BaseN_Encoder(new Grouper), attachment)
{
- IsolatedInitialize(MakeParameters(Name::Uppercase(), uppercase)(Name::GroupSize(), outputGroupSize)(Name::Separator(), ConstByteArrayParameter(separator)));
+ IsolatedInitialize(MakeParameters(Name::Uppercase(), uppercase)(Name::GroupSize(), outputGroupSize)(Name::Separator(), ConstByteArrayParameter(separator))(Name::Terminator(), ConstByteArrayParameter(terminator)));
}
void IsolatedInitialize(const NameValuePairs &parameters);