mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-21 15:07:55 +00:00
Keep SSL context const when hw accel is disabled
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
e861e704c0
commit
13bebd0edb
|
@ -1253,7 +1253,10 @@ int ssl_populate_transform( mbedtls_ssl_transform *transform,
|
||||||
const unsigned char randbytes[64],
|
const unsigned char randbytes[64],
|
||||||
int minor_ver,
|
int minor_ver,
|
||||||
unsigned endpoint,
|
unsigned endpoint,
|
||||||
const mbedtls_ssl_context *ssl )
|
#if !defined(MBEDTLS_SSL_HW_RECORD_ACCEL)
|
||||||
|
const
|
||||||
|
#endif
|
||||||
|
mbedtls_ssl_context *ssl )
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
unsigned char keyblk[256];
|
unsigned char keyblk[256];
|
||||||
|
|
Loading…
Reference in a new issue