From: Jo-Philipp Wich Date: Tue, 22 Jan 2019 08:50:09 +0000 (+0100) Subject: musl: improve crypt() size hack X-Git-Tag: v19.07.0-rc1~1549 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ceb625439a84c7ea4ab1e39f126b6baffc48d1cd;hp=ceb625439a84c7ea4ab1e39f126b6baffc48d1cd;p=oweals%2Fopenwrt.git musl: improve crypt() size hack Instead of silently downgrading any non-MD5 crypt() request to DES, cleanly fail with return NULL and errno = ENOSYS. This allows callers to notice the missing support instead of the unwanted silent fallback to DES. Also add a menuconfig toolchain option to optionally disable the crypt size hack completely. This can be probably made dependant on SMALL_FLASH or a similar feature indicator in a future commit. Ref: https://github.com/openwrt/openwrt/pull/1331 Signed-off-by: Jo-Philipp Wich ---