toolchain/musl: update to 1.2.4
[openwrt/openwrt.git] / toolchain / musl / Config.in
index 05caa6ab6f3fce5c7ae70a46e94b7aed692c81a1..67ede4d1e7e04e6b28992a46bfc487ab179e8a1c 100644 (file)
@@ -1,6 +1,13 @@
-# Debug version.
+# Password crypt stubbing
 
-config MUSL_ENABLE_DEBUG
-       bool "Build with debug information"
-       depends on TOOLCHAINOPTS && USE_MUSL
-       default n
+config MUSL_DISABLE_CRYPT_SIZE_HACK
+       bool
+       prompt "Include crypt() support for SHA256, SHA512 and Blowfish ciphers" if TOOLCHAINOPTS
+       depends on USE_MUSL && !EXTERNAL_TOOLCHAIN
+       default y
+       help
+         Enable this option to re-include crypt() support for the SHA256, SHA512 and
+         Blowfish ciphers. Without this option, attempting to hash a string with a salt
+         requesting one of these ciphers will cause the crypt() function to call stub
+         implementations which will always fail with errno ENOSYS. Including the ciphers
+         will increase the library size by about 14KB after LZMA compression.