Commit 66e20c63 authored by Manuel Pégourié-Gonnard's avatar Manuel Pégourié-Gonnard
Browse files

Fix warning and typo->error.

parent 3579522d
......@@ -37,9 +37,10 @@
/*
* You should adjust this to the exact number of sources you're using: default
* is the "platform_entrpy_poll" source, but you may want to add other ones
* is the "platform_entropy_poll" source, but you may want to add other ones
* Minimum is 2 for the entropy test suite.
*/
#define ENTROPY_MAX_SOURCES 1
#define ENTROPY_MAX_SOURCES 2
/*
* Save RAM at the expense of interoperability: do this only if you control
......
......@@ -72,7 +72,7 @@
/*
* You should adjust this to the exact number of sources you're using: default
* is the "platform_entrpy_poll" source, but you may want to add other ones.
* is the "platform_entropy_poll" source, but you may want to add other ones.
* Minimum is 2 for the entropy test suite.
*/
#define ENTROPY_MAX_SOURCES 2
......
......@@ -62,12 +62,12 @@
#define polarssl_free free
#endif
#if defined(POLARSSL_FS_IO)
/* Implementation that should never be optimized out by the compiler */
static void polarssl_zeroize( void *v, size_t n ) {
volatile unsigned char *p = v; while( n-- ) *p++ = 0;
}
#if defined(POLARSSL_FS_IO)
/*
* Load all data from a file into a given buffer.
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment