1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

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)
This commit is contained in:
Andrew Tridgell 2006-09-11 08:28:25 +00:00 committed by Gerald (Jerry) Carter
parent 6cb5128dd6
commit a57b42ff4e

View File

@ -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];