summaryrefslogtreecommitdiff
path: root/seal.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2008-02-02 08:40:27 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2008-02-02 08:40:27 +0000
commitfed5890194f50d587a9dc57f20d89e3369af125a (patch)
tree847503be51751e8e42fa6e5ed20c34d79dd76f4c /seal.h
parentb261da65cbee4c18036f0f98748b924b10500f6b (diff)
downloadcryptopp-fed5890194f50d587a9dc57f20d89e3369af125a.tar.gz
fix infinite recursive call in IsRandomAccess (reported by ASBai)
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@421 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'seal.h')
-rw-r--r--seal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/seal.h b/seal.h
index c175a64..f914253 100644
--- a/seal.h
+++ b/seal.h
@@ -19,7 +19,7 @@ protected:
void CipherSetKey(const NameValuePairs &params, const byte *key, size_t length);
void OperateKeystream(KeystreamOperation operation, byte *output, const byte *input, size_t iterationCount);
void CipherResynchronize(byte *keystreamBuffer, const byte *IV);
- bool IsRandomAccess() const {return true;}
+ bool CipherIsRandomAccess() const {return true;}
void SeekToIteration(lword iterationCount);
private: