mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-04 13:45:05 +01:00
Remove a few redundant memset after calloc.
Using the following semantic patch provided by Mansour Moufid: @@ expression x; @@ x = mbedtls_calloc(...) ... - memset(x, 0, ...);
This commit is contained in:
parent
b2a18a2a98
commit
1b8de57827
8 changed files with 1 additions and 17 deletions
|
|
@ -66,6 +66,7 @@ API Changes
|
|||
* Signature of mpi_mul_mpi() changed to make the last argument unsigned
|
||||
* calloc() is now used instead of malloc() everywhere. API of platform
|
||||
layer and the memory_buffer_alloc module changed accordingly.
|
||||
(Thanks to Mansour Moufid for helping with the replacement.)
|
||||
* Change SSL_DISABLE_RENEGOTIATION config.h flag to SSL_RENEGOTIATION
|
||||
(support for renegotiation now needs explicit enabling in config.h).
|
||||
* net_connect() and net_bind() have a new 'proto' argument to choose
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue