Skip to content

Commit

Permalink
crypto/crypto_misc.c: RNG_initialize(): Don't do anything for esp8266.
Browse files Browse the repository at this point in the history
It's tentative RNG is already setup when axTLS runs.
  • Loading branch information
pfalcon committed Jul 11, 2016
1 parent 9776795 commit 67d27df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/crypto_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ EXP_FUNC void STDCALL RNG_initialize()
exit(1);
}
}
#else
#elif !defined(__ets__)
/* start of with a stack to copy across */
int i;
memcpy(entropy_pool, &i, ENTROPY_POOL_SIZE);
Expand Down

0 comments on commit 67d27df

Please sign in to comment.