Remove use of _Static_assert
authorMatt Caswell <matt@openssl.org>
Wed, 13 Sep 2023 09:31:46 +0000 (10:31 +0100)
committerPauli <pauli@openssl.org>
Thu, 14 Sep 2023 23:20:05 +0000 (09:20 +1000)
commitfc785a554cc37dfa94710b28ced45b03006f0300
treecfe2ab6acb42113b754686c606dbc28c42a215d7
parent46b43c9f98771139735656e541c8f4c8018c2667
Remove use of _Static_assert

We had some use of the C11 _Static_assert feature which can cause some
problems on some platforms. Everywhere we were using it, it is not really
required so remove it.

Fixes #22017

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22091)
include/internal/e_os.h
providers/implementations/kdfs/argon2.c