|
Message-ID: <2e4ab2e5f05e824700961eaffc4952e4@smtp.hushmail.com> Date: Tue, 15 Sep 2015 01:47:25 +0200 From: magnum <john.magnum@...hmail.com> To: john-dev@...ts.openwall.com Subject: Re: md5cryptsse() has wrong initializer for a 2-dimensional array On 2015-09-15 01:00, Solar Designer wrote: > magnum - > > I am getting this warning with gcc 4.6.2: > > simd-intrinsics.c: In function 'md5cryptsse': > simd-intrinsics.c:606:2: warning: missing braces around initializer [-Wmissing-braces] > simd-intrinsics.c:606:2: warning: (near initialization for 'buffers[0]') [-Wmissing-braces] > > The line is: > > JTR_ALIGN(MEM_ALIGN_SIMD) unsigned char buffers[8][64*MD5_SSE_NUM_KEYS] = { 0 }; > > An extra pair of curly braces makes the warning go away: > > JTR_ALIGN(MEM_ALIGN_SIMD) unsigned char buffers[8][64*MD5_SSE_NUM_KEYS] = { { 0 } }; > > Alexander > Oh, right, I'll fix. I had it right during tests last week but never committed that. The compiler at hand right now (gcc 5.2.0) did not complain at all :-/ magnum
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.