Add support to eap_peer for client cert and CA cert on smartcard and in
phase2 auth.
This commit is contained in:
parent
e59c91af82
commit
d1f73353bc
2 changed files with 45 additions and 0 deletions
|
@ -59,6 +59,8 @@ static void eap_tls_params_from_conf1(struct tls_connection_params *params,
|
|||
params->engine_id = config->engine_id;
|
||||
params->pin = config->pin;
|
||||
params->key_id = config->key_id;
|
||||
params->cert_id = config->cert_id;
|
||||
params->ca_cert_id = config->ca_cert_id;
|
||||
}
|
||||
|
||||
|
||||
|
@ -73,6 +75,11 @@ static void eap_tls_params_from_conf2(struct tls_connection_params *params,
|
|||
params->dh_file = (char *) config->dh_file2;
|
||||
params->subject_match = (char *) config->subject_match2;
|
||||
params->altsubject_match = (char *) config->altsubject_match2;
|
||||
params->engine_id = config->engine_id;
|
||||
params->pin = config->pin;
|
||||
params->key_id = config->key2_id;
|
||||
params->cert_id = config->cert2_id;
|
||||
params->ca_cert_id = config->ca_cert2_id;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue