aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tlsv1_client.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-07-05 08:29:42 (GMT)
committerJouni Malinen <j@w1.fi>2011-07-05 08:29:42 (GMT)
commit235279e777137dd7b03cd09ea8ad0fb2dc605e4e (patch)
tree88c646c17b5000c4cc34bcb23e1c6c29e7831117 /src/tls/tlsv1_client.h
parent572a171f4f88dbaae9ea0b99b0ed1b25a268bebb (diff)
downloadhostap-235279e777137dd7b03cd09ea8ad0fb2dc605e4e.zip
hostap-235279e777137dd7b03cd09ea8ad0fb2dc605e4e.tar.gz
hostap-235279e777137dd7b03cd09ea8ad0fb2dc605e4e.tar.bz2
TLS: Add support for tls_disable_time_checks=1 in client mode
This phase1 parameter for TLS-based EAP methods was already supported with GnuTLS and this commit extends that support for OpenSSL and the internal TLS implementation.
Diffstat (limited to 'src/tls/tlsv1_client.h')
-rw-r--r--src/tls/tlsv1_client.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tls/tlsv1_client.h b/src/tls/tlsv1_client.h
index 16ad57d..a620d62 100644
--- a/src/tls/tlsv1_client.h
+++ b/src/tls/tlsv1_client.h
@@ -1,6 +1,6 @@
/*
* TLSv1 client (RFC 2246)
- * Copyright (c) 2006-2007, Jouni Malinen <j@w1.fi>
+ * Copyright (c) 2006-2011, Jouni Malinen <j@w1.fi>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -47,6 +47,7 @@ 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,
struct tlsv1_credentials *cred);
+void tlsv1_client_set_time_checks(struct tlsv1_client *conn, int enabled);
typedef int (*tlsv1_client_session_ticket_cb)
(void *ctx, const u8 *ticket, size_t len, const u8 *client_random,