]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Drop missed unneded GNUC>=2 check
authorBob Beck <beck@openssl.org>
Thu, 18 Jun 2026 17:28:28 +0000 (11:28 -0600)
committerNeil Horman <nhorman@openssl.org>
Fri, 10 Jul 2026 11:47:13 +0000 (07:47 -0400)
Spotted by idrassi on review. thanks!

Reviewed-by: Milan Broz <mbroz@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
Reviewed-by: Neil Horman <nhorman@openssl.org>
MergeDate: Fri Jul 10 11:47:21 2026
(Merged from https://github.com/openssl/openssl/pull/31677)

include/crypto/md32_common.inc

index 06293681b4d7d4bf992f2a1be25799ff51bfcf55..3dea481c5677d930a5d04139ce1138613afc5f5f 100644 (file)
 #define ROTATE(a, n) (((a) << (n)) | (((a) & 0xffffffff) >> (32 - (n))))
 
 #ifndef PEDANTIC
-#if defined(__GNUC__) && __GNUC__ >= 2 && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM)
+#if defined(__GNUC__) && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM)
 #if defined(__riscv_zbb) || defined(__riscv_zbkb)
 #if __riscv_xlen == 64
 #undef ROTATE