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:
parent
6cb5128dd6
commit
a57b42ff4e
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user