From a3f0af934e387ba259919f0b72b42120eef3bc5c Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 6 Dec 2002 22:02:46 +0000 Subject: add script-driven testing git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@24 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- strciphr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'strciphr.cpp') diff --git a/strciphr.cpp b/strciphr.cpp index 694d158..78e1a3f 100644 --- a/strciphr.cpp +++ b/strciphr.cpp @@ -16,7 +16,7 @@ byte AdditiveCipherTemplate::GenerateByte() m_leftOver = policy.GetBytesPerIteration(); } - return KeystreamBufferEnd()[-m_leftOver--]; + return *(KeystreamBufferEnd()-m_leftOver--); } template -- cgit v1.2.1