summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-11 08:28:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:20 -0500
commita57b42ff4edf7fe91f84a5057ab01e6504668cf6 (patch)
tree30f64dfcb7c9d0fca3b43cfb97ca4b27ed8834fc
parent6cb5128dd6a4adf24d96591444c48db017b0b861 (diff)
downloadsamba-a57b42ff4edf7fe91f84a5057ab01e6504668cf6.tar.gz
samba-a57b42ff4edf7fe91f84a5057ab01e6504668cf6.tar.bz2
samba-a57b42ff4edf7fe91f84a5057ab01e6504668cf6.zip
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)
-rw-r--r--source4/lib/crypto/hmacsha1test.c2
1 files changed, 0 insertions, 2 deletions
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];