wpa_supplicant: Add CA certification bundle support

Add support for CA certificate bundle support for server
certificate validation
This commit is contained in:
Kapil Gupta
2022-02-08 15:20:13 +05:30
parent 82e9afeade
commit 62eb06e386
10 changed files with 79 additions and 8 deletions

View File

@@ -84,6 +84,11 @@ static void eap_tls_params_from_conf1(struct tls_connection_params *params,
params->flags |= TLS_CONN_SUITEB;
else
params->flags &= (~TLS_CONN_SUITEB);
if (config->flags & TLS_CONN_USE_DEFAULT_CERT_BUNDLE)
params->flags |= TLS_CONN_USE_DEFAULT_CERT_BUNDLE;
else
params->flags &= (~TLS_CONN_USE_DEFAULT_CERT_BUNDLE);
}
static int eap_tls_params_from_conf(struct eap_sm *sm,