r18374: don't go past the end of this array
[jelmer/samba4-debian.git] / source / lib / crypto / hmacsha1test.c
index 7b8bd2070776e8d12ea199ecd4f144dc65665a4a..c40998f5a1e4a671f6afbe42a9418d7ea38c981e 100644 (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];