diff options
-rw-r--r-- | libbb/hash_md5_sha.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/hash_md5_sha.c b/libbb/hash_md5_sha.c index 57a801459..75a61c32c 100644 --- a/libbb/hash_md5_sha.c +++ b/libbb/hash_md5_sha.c | |||
@@ -1313,7 +1313,9 @@ unsigned FAST_FUNC sha1_end(sha1_ctx_t *ctx, void *resbuf) | |||
1313 | hash_size = 8; | 1313 | hash_size = 8; |
1314 | if (ctx->process_block == sha1_process_block64 | 1314 | if (ctx->process_block == sha1_process_block64 |
1315 | #if ENABLE_SHA1_HWACCEL | 1315 | #if ENABLE_SHA1_HWACCEL |
1316 | # if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) | ||
1316 | || ctx->process_block == sha1_process_block64_shaNI | 1317 | || ctx->process_block == sha1_process_block64_shaNI |
1318 | # endif | ||
1317 | #endif | 1319 | #endif |
1318 | ) { | 1320 | ) { |
1319 | hash_size = 5; | 1321 | hash_size = 5; |