From f78fccb3cc8c2375bd0b474a33c43b1cd22a325c Mon Sep 17 00:00:00 2001 From: weidai Date: Sat, 19 Jun 2004 08:28:09 +0000 Subject: port to GCC 3.4 --- tea.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tea.h') 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;} -- cgit v1.2.1