svn commit: samba r18374 - in branches/SAMBA_4_0/source/lib/crypto: .

tridge at samba.org tridge at samba.org
Mon Sep 11 08:28:25 GMT 2006


Author: tridge
Date: 2006-09-11 08:28:25 +0000 (Mon, 11 Sep 2006)
New Revision: 18374

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18374

Log:

don't go past the end of this array

should fix the intermittend failure of the HMACSHA1 test

Modified:
   branches/SAMBA_4_0/source/lib/crypto/hmacsha1test.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/crypto/hmacsha1test.c
===================================================================
--- branches/SAMBA_4_0/source/lib/crypto/hmacsha1test.c	2006-09-11 08:16:42 UTC (rev 18373)
+++ branches/SAMBA_4_0/source/lib/crypto/hmacsha1test.c	2006-09-11 08:28:25 UTC (rev 18374)
@@ -72,8 +72,6 @@
 							 "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];



More information about the samba-cvs mailing list