]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP peer: Move certificate configuration params into shared struct
authorJouni Malinen <j@w1.fi>
Sun, 1 Sep 2019 12:37:22 +0000 (15:37 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 1 Sep 2019 14:19:31 +0000 (17:19 +0300)
commitb99c4cadb7f8f63b3e83b7b67af0d01250f2ad77
tree4b40e2554e7b148ba86fba2f45d49c06386b04b8
parent6e711e7ab32c0fbf476c02424dc1e4e105b5637b
EAP peer: Move certificate configuration params into shared struct

These parameters for certificate authentication are identical for the
Phase 1 (EAP-TLS alone) and Phase 2 (EAP-TLS inside a TLS tunnel).
Furthermore, yet another copy would be needed to support separate
machine credential in Phase 2. Clean this up by moving the shared
parameters into a separate data struct that can then be used for each
need without having to define separate struct members for each use.

Signed-off-by: Jouni Malinen <j@w1.fi>
eap_example/eap_example_peer.c
src/eap_peer/eap.c
src/eap_peer/eap_config.h
src/eap_peer/eap_teap.c
src/eap_peer/eap_tls.c
src/eap_peer/eap_tls_common.c
wpa_supplicant/config.c
wpa_supplicant/config_file.c
wpa_supplicant/config_winreg.c
wpa_supplicant/wpa_supplicant.c