summaryrefslogtreecommitdiff
path: root/hex.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2006-12-09 17:12:14 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2006-12-09 17:12:14 +0000
commit1c1a8f5688ca94540ace3077210b07b46918b94a (patch)
tree94f4b0c78bad9272d979d44df1e8e80a199a1593 /hex.h
parentb84112eb4cb5e06b79fafd28f208af0417184f5e (diff)
downloadcryptopp-1c1a8f5688ca94540ace3077210b07b46918b94a.tar.gz
fix terminator param being ignored
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@243 57ff6487-cd31-0410-9ec3-f628ee90f5f0
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 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 &parameters);