From 1b414f59fc46b8c88e606de122debf69e8b5faa8 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 17 Sep 2011 22:42:54 +0300 Subject: eapol_test: Add option for writing server certificate chain to a file eapol_test command line argument -o 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] --- src/eapol_supp/eapol_supp_sm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/eapol_supp/eapol_supp_sm.c') diff --git a/src/eapol_supp/eapol_supp_sm.c b/src/eapol_supp/eapol_supp_sm.c index bb6cff6..c4a0d8a 100644 --- a/src/eapol_supp/eapol_supp_sm.c +++ b/src/eapol_supp/eapol_supp_sm.c @@ -1883,6 +1883,7 @@ struct eapol_sm *eapol_sm_init(struct eapol_ctx *ctx) conf.pkcs11_engine_path = ctx->pkcs11_engine_path; conf.pkcs11_module_path = ctx->pkcs11_module_path; conf.wps = ctx->wps; + conf.cert_in_cb = ctx->cert_in_cb; sm->eap = eap_peer_sm_init(sm, &eapol_cb, sm->ctx->msg_ctx, &conf); if (sm->eap == NULL) { -- cgit v1.1