aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/xtea/xtea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/xtea/xtea.cpp')
-rw-r--r--src/block/xtea/xtea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/xtea/xtea.cpp b/src/block/xtea/xtea.cpp
index 03e9f628c..9e47e5328 100644
--- a/src/block/xtea/xtea.cpp
+++ b/src/block/xtea/xtea.cpp
@@ -121,7 +121,7 @@ void XTEA::decrypt_n(const byte in[], byte out[], u32bit blocks) const
*/
void XTEA::key_schedule(const byte key[], u32bit)
{
- SecureVector<u32bit, 4> UK;
+ SecureVector<u32bit> UK(4);
for(u32bit i = 0; i != 4; ++i)
UK[i] = load_be<u32bit>(key, i);