Changeset 12016


Ignore:
Timestamp:
2008-07-30T19:04:50+02:00 (10 years ago)
Author:
blogic
Message:

adds option to select tls provider when using wpa_supplicant, fixes #3770

Location:
trunk/package/wpa_supplicant
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/wpa_supplicant/Config.in

    r11850 r12016  
    77          This disables the timestamp check for certificates in wpa_supplicant 
    88          Useful for devices without RTC that cannot reliably get the real date/time 
     9choice 
     10        prompt "Choose TLS provider" 
     11        default WPA_SUPPLICANT_INTERNAL 
     12        depends PACKAGE_wpa-supplicant 
    913 
     14config WPA_SUPPLICANT_INTERNAL 
     15        bool "internal" 
     16 
     17config WPA_SUPPLICANT_OPENSSL 
     18        bool "openssl" 
     19        select PACKAGE_libopenssl 
     20 
     21endchoice 
  • trunk/package/wpa_supplicant/Makefile

    r11861 r12016  
    2424  CATEGORY:=Network 
    2525  TITLE:=WPA Supplicant 
     26  DEPENDS:=$(if $(CONFIG_WPA_SUPPLICANT_OPENSSL),+libopenssl) 
    2627  URL:=http://hostap.epitest.fi/wpa_supplicant/ 
    2728endef 
     
    5354        cp $(CONFIG) $(PKG_BUILD_DIR)/wpa_supplicant/.config 
    5455        $(if $(CONFIG_PACKAGE_kmod-madwifi),,$(SED) 's,^CONFIG_DRIVER_MADWIFI,#CONFIG_DRIVER_MADWIFI,g' $(PKG_BUILD_DIR)/wpa_supplicant/.config) 
     56        $(if $(CONFIG_WPA_SUPPLICANT_OPENSSL),$(SED) 's|^CONFIG_TLS.*|CONFIG_TLS=openssl|g' $(PKG_BUILD_DIR)/wpa_supplicant/.config) 
    5557endef 
    5658 
Note: See TracChangeset for help on using the changeset viewer.