Avoid copying crypto_info again after cipher_type check
to avoid a TOCTOU exploits.
The temporary array on the stack is removed as we don't really need it
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
tls_main.c | ||
tls_sw.c |
Avoid copying crypto_info again after cipher_type check
to avoid a TOCTOU exploits.
The temporary array on the stack is removed as we don't really need it
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
tls_main.c | ||
tls_sw.c |