From b5aebee49eb7742fbc29da563672d9ae0c890df1 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 2 Jun 2008 18:45:45 +0300 Subject: [PATCH] Fixed dbus build without OpenSSL. --- wpa_supplicant/ctrl_iface_dbus_handlers.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wpa_supplicant/ctrl_iface_dbus_handlers.c b/wpa_supplicant/ctrl_iface_dbus_handlers.c index dd4e96a9b..6bf399311 100644 --- a/wpa_supplicant/ctrl_iface_dbus_handlers.c +++ b/wpa_supplicant/ctrl_iface_dbus_handlers.c @@ -1229,12 +1229,14 @@ DBusMessage * wpas_dbus_iface_set_smartcard_modules( wpa_dbus_dict_entry_clear(&entry); } +#ifdef EAP_TLS_OPENSSL os_free(wpa_s->conf->opensc_engine_path); wpa_s->conf->opensc_engine_path = opensc_engine_path; os_free(wpa_s->conf->pkcs11_engine_path); wpa_s->conf->pkcs11_engine_path = pkcs11_engine_path; os_free(wpa_s->conf->pkcs11_module_path); wpa_s->conf->pkcs11_module_path = pkcs11_module_path; +#endif /* EAP_TLS_OPENSSL */ eapol_sm_deinit(wpa_s->eapol); wpa_supplicant_init_eapol(wpa_s);