Rename tls_connection_get_keys() to tls_connection_get_random()
Commit 94f1fe6f63
('Remove master key
extraction from tls_connection_get_keys()') left only fetching of
server/client random, but did not rename the function and structure to
minimize code changes. The only name is quite confusing, so rename this
through the repository to match the new purpose.
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
1e4f7bf5d0
commit
1046db8b53
11 changed files with 32 additions and 35 deletions
|
@ -347,10 +347,10 @@ u8 * eap_peer_tls_derive_session_id(struct eap_sm *sm,
|
|||
struct eap_ssl_data *data, u8 eap_type,
|
||||
size_t *len)
|
||||
{
|
||||
struct tls_keys keys;
|
||||
struct tls_random keys;
|
||||
u8 *out;
|
||||
|
||||
if (tls_connection_get_keys(sm->ssl_ctx, data->conn, &keys))
|
||||
if (tls_connection_get_random(sm->ssl_ctx, data->conn, &keys))
|
||||
return NULL;
|
||||
|
||||
if (keys.client_random == NULL || keys.server_random == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue