aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tlsv1_server.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_server.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_server.h')
-rw-r--r--src/tls/tlsv1_server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/tlsv1_server.h b/src/tls/tlsv1_server.h
index b2b28d1..10e7699 100644
--- a/src/tls/tlsv1_server.h
+++ b/src/tls/tlsv1_server.h
@@ -32,7 +32,7 @@ int tlsv1_server_get_cipher(struct tlsv1_server *conn, char *buf,
size_t buflen);
int tlsv1_server_shutdown(struct tlsv1_server *conn);
int tlsv1_server_resumed(struct tlsv1_server *conn);
-int tlsv1_server_get_keys(struct tlsv1_server *conn, struct tls_keys *keys);
+int tlsv1_server_get_random(struct tlsv1_server *conn, struct tls_random *data);
int tlsv1_server_get_keyblock_size(struct tlsv1_server *conn);
int tlsv1_server_set_cipher_list(struct tlsv1_server *conn, u8 *ciphers);
int tlsv1_server_set_verify(struct tlsv1_server *conn, int verify_peer);