mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 03:45:38 +01:00
change warning about 128bit keys to print
change was made because an actual warning may break CI or customers that compile using warnings as errors.
This commit is contained in:
parent
eb73f7ab6f
commit
954f9879e9
@ -52,7 +52,7 @@
|
|||||||
#define MBEDTLS_CTR_DRBG_KEYSIZE 32 /**< The key size used by the cipher. */
|
#define MBEDTLS_CTR_DRBG_KEYSIZE 32 /**< The key size used by the cipher. */
|
||||||
#else
|
#else
|
||||||
#if defined(MBEDTLS_CTR_DRBG_KEY_SIZE_128)
|
#if defined(MBEDTLS_CTR_DRBG_KEY_SIZE_128)
|
||||||
#warning Warning: using smaller (128bit) key size for CTR DRBG may reduce the security of some operations.
|
#pragma message("Warning: using smaller (128bit) key size for CTR DRBG may reduce the security of some operations.")
|
||||||
#define MBEDTLS_CTR_DRBG_KEYSIZE 16 /**< The key size used by the cipher. */
|
#define MBEDTLS_CTR_DRBG_KEYSIZE 16 /**< The key size used by the cipher. */
|
||||||
#else
|
#else
|
||||||
#error for ctr DRBG either MBEDTLS_CTR_DRBG_KEY_SIZE_256 (default) or MBEDTLS_CTR_DRBG_KEY_SIZE_128 must be set
|
#error for ctr DRBG either MBEDTLS_CTR_DRBG_KEY_SIZE_256 (default) or MBEDTLS_CTR_DRBG_KEY_SIZE_128 must be set
|
||||||
|
Loading…
Reference in New Issue
Block a user