Remove master key extraction from tls_connection_get_keys()
This is not needed anymore with the tls_connection_prf() being used to handle all key derivation needs. tls_connection_get_keys() is a bit misnamed for now, but it is only used to fetch the client and server random for Session-Id derivation. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
fa0e715100
commit
94f1fe6f63
4 changed files with 2 additions and 10 deletions
|
@ -2633,8 +2633,6 @@ int tls_connection_get_keys(void *ssl_ctx, struct tls_connection *conn,
|
|||
return -1;
|
||||
|
||||
os_memset(keys, 0, sizeof(*keys));
|
||||
keys->master_key = ssl->session->master_key;
|
||||
keys->master_key_len = ssl->session->master_key_length;
|
||||
keys->client_random = ssl->s3->client_random;
|
||||
keys->client_random_len = SSL3_RANDOM_SIZE;
|
||||
keys->server_random = ssl->s3->server_random;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue