From a57b42ff4edf7fe91f84a5057ab01e6504668cf6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 11 Sep 2006 08:28:25 +0000 Subject: r18374: don't go past the end of this array should fix the intermittend failure of the HMACSHA1 test (This used to be commit 09014e1102ca5ada1e6f0f82506dc3cf81fc037d) --- source4/lib/crypto/hmacsha1test.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source4/lib/crypto') diff --git a/source4/lib/crypto/hmacsha1test.c b/source4/lib/crypto/hmacsha1test.c index 7b8bd20707..c40998f5a1 100644 --- a/source4/lib/crypto/hmacsha1test.c +++ b/source4/lib/crypto/hmacsha1test.c @@ -72,8 +72,6 @@ BOOL torture_local_crypto_hmacsha1(struct torture_context *torture) "and Larger Than One Block-Size Data"); testarray[6].sha1 = strhex_to_data_blob("e8e99d0f45237d786d6bbaa7965c7808bbff1a91"); - testarray[7].key = data_blob(NULL, 0); - for (i=0; i < ARRAY_SIZE(testarray); i++) { struct HMACSHA1Context ctx; uint8_t sha1[SHA1HashSize]; -- cgit