mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
69582e71fa
Some checks failed
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
Fix the hexdump applet's formatting with certain format types by applying the upstream fix for 1.37.0. Also refresh patches. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> Link: https://github.com/openwrt/openwrt/pull/17308 [Changed to 002- patch file name prefix] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 lines
374 B
Diff
13 lines
374 B
Diff
--- a/libbb/hash_md5_sha.c
|
|
+++ b/libbb/hash_md5_sha.c
|
|
@@ -1313,7 +1313,9 @@ unsigned FAST_FUNC sha1_end(sha1_ctx_t *
|
|
hash_size = 8;
|
|
if (ctx->process_block == sha1_process_block64
|
|
#if ENABLE_SHA1_HWACCEL
|
|
+# if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
|
|
|| ctx->process_block == sha1_process_block64_shaNI
|
|
+# endif
|
|
#endif
|
|
) {
|
|
hash_size = 5;
|