From a89498427ca32822fe1a273c8eb83b48da01ee1b Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 4 Oct 2010 13:32:15 +0000 Subject: Compile fix --- src/block/serpent_ia32/serp_ia32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/block') diff --git a/src/block/serpent_ia32/serp_ia32.cpp b/src/block/serpent_ia32/serp_ia32.cpp index ecdfec9b1..e969f5235 100644 --- a/src/block/serpent_ia32/serp_ia32.cpp +++ b/src/block/serpent_ia32/serp_ia32.cpp @@ -72,7 +72,7 @@ void Serpent_IA32::decrypt_n(const byte in[], byte out[], u32bit blocks) const */ void Serpent_IA32::key_schedule(const byte key[], u32bit length) { - SecureVector W; + SecureVector W(140); for(u32bit j = 0; j != length / 4; ++j) W[j] = load_le(key, j); W[length / 4] |= u32bit(1) << ((length%4)*8); -- cgit v1.2.3