summaryrefslogtreecommitdiff
path: root/tea.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2004-06-19 08:28:09 +0000
committerweidai <weidai11@users.noreply.github.com>2004-06-19 08:28:09 +0000
commitf78fccb3cc8c2375bd0b474a33c43b1cd22a325c (patch)
tree187e9abc73ba1918391e24a30eb0b9638f12941e /tea.h
parent40a5b80a4522a9b3ad3820b5a953bb4f3611e009 (diff)
downloadcryptopp-git-f78fccb3cc8c2375bd0b474a33c43b1cd22a325c.tar.gz
port to GCC 3.4
Diffstat (limited to 'tea.h')
-rw-r--r--tea.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tea.h b/tea.h
index ed7687e4..6dd8592b 100644
--- a/tea.h
+++ b/tea.h
@@ -99,7 +99,7 @@ class BTEA : public BTEA_Info, public BlockCipherDocumentation
{
obj->ThrowIfInvalidKeyLength(length);
obj->m_blockSize = param.GetIntValueWithDefault("BlockSize", 60*4);
- GetUserKey(BIG_ENDIAN_ORDER, obj->m_k.begin(), 4, userKey, KEYLENGTH);
+ GetUserKey(BIG_ENDIAN_ORDER, obj->m_k.begin(), 4, key, KEYLENGTH);
}
unsigned int BlockSize() const {return m_blockSize;}