blob: 2a477a9cbbd2374d046139a164cda9f6a269139b [file] [log] [blame]
Gilles Peskine1226ece2021-02-09 18:52:49 +01001Bugfix
Gilles Peskineb1583212021-02-22 21:26:54 +01002 * Ensure that calling mbedtls_rsa_free() or mbedtls_entropy_free()
3 twice is safe. This happens for RSA when some Mbed TLS library functions
4 fail. Such a double-free was not safe when MBEDTLS_THREADING_C was
5 enabled on platforms where freeing a mutex twice is not safe.
Gilles Peskine1226ece2021-02-09 18:52:49 +01006 * Fix a resource leak in a bad-arguments case of mbedtls_rsa_gen_key()
7 when MBEDTLS_THREADING_C is enabled on platforms where initializing
8 a mutex allocates resources.
Gilles Peskine4337a9c2021-02-09 18:59:42 +01009
10Default behavior changes
11 * In mbedtls_rsa_context objects, the ver field was formerly documented
12 as always 0. It is now reserved for internal purposes and may take
13 different values.