aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tlsv1_common.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-11-27 19:35:11 (GMT)
committerJouni Malinen <j@w1.fi>2011-11-27 19:35:11 (GMT)
commitd0485a6208ea787a4ceb8c2111e292abe96b224b (patch)
tree71ff0a6d79e456b21b7284ef98630727f545fbcd /src/tls/tlsv1_common.c
parentcd52acec8587f6530a4434ea78159ce5b4b34bb2 (diff)
downloadhostap-d0485a6208ea787a4ceb8c2111e292abe96b224b.zip
hostap-d0485a6208ea787a4ceb8c2111e292abe96b224b.tar.gz
hostap-d0485a6208ea787a4ceb8c2111e292abe96b224b.tar.bz2
TLS: Pass version to tls_prf() in preparation for new PRFs
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/tls/tlsv1_common.c')
-rw-r--r--src/tls/tlsv1_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/tlsv1_common.c b/src/tls/tlsv1_common.c
index 326ff70..a9ffc10 100644
--- a/src/tls/tlsv1_common.c
+++ b/src/tls/tlsv1_common.c
@@ -268,7 +268,7 @@ const char * tls_version_str(u16 ver)
}
-int tls_prf(const u8 *secret, size_t secret_len, const char *label,
+int tls_prf(u16 ver, const u8 *secret, size_t secret_len, const char *label,
const u8 *seed, size_t seed_len, u8 *out, size_t outlen)
{
return tls_prf_sha1_md5(secret, secret_len, label, seed, seed_len, out,