blob: 49f1a84f28ae0d29334cf55fe16cd67bba7279d4 [file] [log] [blame]
Gilles Peskine1226ece2021-02-09 18:52:49 +01001Bugfix
2 * Ensure that calling mbedtls_rsa_free() twice is safe. This happens
3 when some Mbed TLS library functions fail. Such a double-free was
4 not safe when MBEDTLS_THREADING_C was enabled on platforms where
5 freeing a mutex twice is not safe.
6 * 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.