From 1c1a8f5688ca94540ace3077210b07b46918b94a Mon Sep 17 00:00:00 2001 From: weidai Date: Sat, 9 Dec 2006 17:12:14 +0000 Subject: fix terminator param being ignored git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@243 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- hex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hex.h') diff --git a/hex.h b/hex.h index 33e3330..006914c 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 ¶meters); -- cgit v1.2.1