Fixed dbus build without OpenSSL.
This commit is contained in:
parent
ec717917e5
commit
b5aebee49e
1 changed files with 2 additions and 0 deletions
|
@ -1229,12 +1229,14 @@ DBusMessage * wpas_dbus_iface_set_smartcard_modules(
|
||||||
wpa_dbus_dict_entry_clear(&entry);
|
wpa_dbus_dict_entry_clear(&entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef EAP_TLS_OPENSSL
|
||||||
os_free(wpa_s->conf->opensc_engine_path);
|
os_free(wpa_s->conf->opensc_engine_path);
|
||||||
wpa_s->conf->opensc_engine_path = opensc_engine_path;
|
wpa_s->conf->opensc_engine_path = opensc_engine_path;
|
||||||
os_free(wpa_s->conf->pkcs11_engine_path);
|
os_free(wpa_s->conf->pkcs11_engine_path);
|
||||||
wpa_s->conf->pkcs11_engine_path = pkcs11_engine_path;
|
wpa_s->conf->pkcs11_engine_path = pkcs11_engine_path;
|
||||||
os_free(wpa_s->conf->pkcs11_module_path);
|
os_free(wpa_s->conf->pkcs11_module_path);
|
||||||
wpa_s->conf->pkcs11_module_path = pkcs11_module_path;
|
wpa_s->conf->pkcs11_module_path = pkcs11_module_path;
|
||||||
|
#endif /* EAP_TLS_OPENSSL */
|
||||||
|
|
||||||
eapol_sm_deinit(wpa_s->eapol);
|
eapol_sm_deinit(wpa_s->eapol);
|
||||||
wpa_supplicant_init_eapol(wpa_s);
|
wpa_supplicant_init_eapol(wpa_s);
|
||||||
|
|
Loading…
Reference in a new issue