aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tlsv1_client.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-08-01 15:17:14 (GMT)
committerJouni Malinen <j@w1.fi>2015-08-02 13:52:56 (GMT)
commit1046db8b53af3c426551c505a3a08af5d00305d1 (patch)
treef39ff9fbcaad496b55a1df0fbc41e1ff8bd3c746 /src/tls/tlsv1_client.h
parent1e4f7bf5d0995e636d30e2553c4260cb6fb02a38 (diff)
downloadhostap-1046db8b53af3c426551c505a3a08af5d00305d1.zip
hostap-1046db8b53af3c426551c505a3a08af5d00305d1.tar.gz
hostap-1046db8b53af3c426551c505a3a08af5d00305d1.tar.bz2
Rename tls_connection_get_keys() to tls_connection_get_random()
Commit 94f1fe6f6384a2ef379ef5b8cdc32a2fa01f8d13 ('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>
Diffstat (limited to 'src/tls/tlsv1_client.h')
-rw-r--r--src/tls/tlsv1_client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/tlsv1_client.h b/src/tls/tlsv1_client.h
index 8ec85f1..a4e25e9 100644
--- a/src/tls/tlsv1_client.h
+++ b/src/tls/tlsv1_client.h
@@ -36,7 +36,7 @@ int tlsv1_client_shutdown(struct tlsv1_client *conn);
int tlsv1_client_resumed(struct tlsv1_client *conn);
int tlsv1_client_hello_ext(struct tlsv1_client *conn, int ext_type,
const u8 *data, size_t data_len);
-int tlsv1_client_get_keys(struct tlsv1_client *conn, struct tls_keys *keys);
+int tlsv1_client_get_random(struct tlsv1_client *conn, struct tls_random *data);
int tlsv1_client_get_keyblock_size(struct tlsv1_client *conn);
int tlsv1_client_set_cipher_list(struct tlsv1_client *conn, u8 *ciphers);
int tlsv1_client_set_cred(struct tlsv1_client *conn,