aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_peer/eap.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-09-17 19:42:54 (GMT)
committerJouni Malinen <j@w1.fi>2011-09-17 19:42:54 (GMT)
commit1b414f59fc46b8c88e606de122debf69e8b5faa8 (patch)
tree06b74e9a152f33d1ba4bc3dd21dff015362fea61 /src/eap_peer/eap.h
parent8a55f56453f55f7b9b634781b277833d09b3ca9a (diff)
downloadhostap-1b414f59fc46b8c88e606de122debf69e8b5faa8.zip
hostap-1b414f59fc46b8c88e606de122debf69e8b5faa8.tar.gz
hostap-1b414f59fc46b8c88e606de122debf69e8b5faa8.tar.bz2
eapol_test: Add option for writing server certificate chain to a file
eapol_test command line argument -o<file> can now be used to request the received server certificate chain to be written to the specified file. The certificates will be written in PEM format. [Bug 391]
Diffstat (limited to 'src/eap_peer/eap.h')
-rw-r--r--src/eap_peer/eap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/eap_peer/eap.h b/src/eap_peer/eap.h
index 2a80d4e..15e451e 100644
--- a/src/eap_peer/eap.h
+++ b/src/eap_peer/eap.h
@@ -262,6 +262,11 @@ struct eap_config {
* This is only used by EAP-WSC and can be left %NULL if not available.
*/
struct wps_context *wps;
+
+ /**
+ * cert_in_cb - Include server certificates in callback
+ */
+ int cert_in_cb;
};
struct eap_sm * eap_peer_sm_init(void *eapol_ctx,