Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Commit

Permalink
Fix C warning
Browse files Browse the repository at this point in the history
Signed-off-by: Lily Sturmann <[email protected]>
  • Loading branch information
lkatalin authored and enarxbot committed Jan 28, 2021
1 parent c7b2bc7 commit 2a2847f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/bin/sgx_get_att_quote.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ int main(void) {
int* nonce[64]; /* empty pseudo-hash value to embed in SGX Quote */
unsigned char buf[4598];
size_t technology;
int i = 0;
int i;
unsigned char expected[32] = {
3, 0, 2, 0, 0, 0, 0, 0, 5, 0,
10, 0, 147, 154, 114, 51, 247, 156, 76, 169,
Expand All @@ -35,7 +35,7 @@ int main(void) {
return 1;

/* check beginning of quote matches expected value */
for (i; i < 32; i++)
for (i = 0; i < 32; i++)
{
if (buf[i] != expected[i] && buf[i]!= dummy[i])
{
Expand Down

0 comments on commit 2a2847f

Please sign in to comment.