mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 23:55:38 +01:00
Fix warning and typo->error.
This commit is contained in:
parent
3579522d31
commit
66e20c6318
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user