mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-24 22:15:07 +00:00
Work around bug in key exporter API
https://github.com/ARMmbed/mbedtls/issues/2759
This commit is contained in:
parent
cba40d92bd
commit
344460c913
|
@ -1336,8 +1336,9 @@ static int ssl_populate_transform( mbedtls_ssl_transform *transform,
|
||||||
session->master, keyblk,
|
session->master, keyblk,
|
||||||
mac_key_len, keylen,
|
mac_key_len, keylen,
|
||||||
iv_copy_len,
|
iv_copy_len,
|
||||||
handshake->randbytes + 32,
|
/* work around bug in exporter type */
|
||||||
handshake->randbytes,
|
(unsigned char *) handshake->randbytes + 32,
|
||||||
|
(unsigned char *) handshake->randbytes,
|
||||||
tls_prf_get_type( handshake->tls_prf ) );
|
tls_prf_get_type( handshake->tls_prf ) );
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue