mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-28 09:39:53 +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,
|
||||
mac_key_len, keylen,
|
||||
iv_copy_len,
|
||||
handshake->randbytes + 32,
|
||||
handshake->randbytes,
|
||||
/* work around bug in exporter type */
|
||||
(unsigned char *) handshake->randbytes + 32,
|
||||
(unsigned char *) handshake->randbytes,
|
||||
tls_prf_get_type( handshake->tls_prf ) );
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user