Skip to contentSkip to conversation

Enable more openssl features for hostapd/wpa_supplicant

PATCH New Sergey Matyukevich 2 participants 4 messages May 26, 2021

lore
Share & tools
lore
#0 lore raw

cover Enable more openssl features for hostapd/wpa_supplicant

Hi all,

One more openssl crypto feature needs to be enabled for hostapd and wpa_supplicant. Last time it was MD4, now it is DES.

Regards,
Sergey

Sergey Matyukevich (2):
package/wpa_supplicant: enable DES in openssl
package/hostapd: enable DES in openssl

 package/hostapd/Config.in        | 1 +
 package/wpa_supplicant/Config.in | 1 +
 2 files changed, 2 insertions(+)
Signature · 1 line
2.31.1
#1 lore raw

PATCH 1/2 package/wpa_supplicant: enable DES in openssl

Hostapd/wpa_supplicant crypto backend assumes that openssl always provides DES support. However DES support in openssl has become optional since commit a83d41867c8d ("package/libopenssl: add option to enable some features").

Select openssl DES support in wpa_supplicant Kconfig to avoid build failures.

Fixes:
http://autobuild.buildroot.net/results/00d46eb765f23a1f6e168338f2cc863ae348045d/

---
 package/wpa_supplicant/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/wpa_supplicant/Config.in +1 -0
index 67117c141b..bc9847c99f 100644
@@ -2,6 +2,7 @@ menuconfig BR2_PACKAGE_WPA_SUPPLICANT
 	bool "wpa_supplicant"
 	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 if BR2_PACKAGE_LIBOPENSSL
+	select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
 	help
 	  WPA supplicant for secure wireless networks
 
Signature · 1 line
2.31.1
#2 lore raw

PATCH 2/2 package/hostapd: enable DES in openssl

In reply to Sergey Matyukevich

Hostapd/wpa_supplicant crypto backend assumes that openssl always provides DES support. However DES support in openssl has become optional since commit a83d41867c8d ("package/libopenssl: add option to enable some features").

Select openssl DES support in hostapd Kconfig to avoid build failures.

---
 package/hostapd/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/hostapd/Config.in +1 -0
index 1ac7f6cd5a..9d5e8692a2 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_HOSTAPD
 	bool "hostapd"
 	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 if BR2_PACKAGE_LIBOPENSSL
+	select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
 	help
 	  User space daemon for wireless access points.
 
Signature · 1 line
2.31.1
#3 lore raw

cover Enable more openssl features for hostapd/wpa_supplicant

In reply to Sergey Matyukevich

Sergey, All,

On 2021-05-26 22:56 +0300, Sergey Matyukevich spake thusly:

Quoted 11 lines

Hi all,

One more openssl crypto feature needs to be enabled for hostapd and wpa_supplicant. Last time it was MD4, now it is DES.

Regards,
Sergey

Sergey Matyukevich (2):
package/wpa_supplicant: enable DES in openssl
package/hostapd: enable DES in openssl

Applied to next, thanks.

Regards,
Yann E. MORIN.

Quoted 11 lines
 package/hostapd/Config.in        | 1 +
 package/wpa_supplicant/Config.in | 1 +
 2 files changed, 2 insertions(+)
Signature · 6 lines
2.31.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'