mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-30 07:20:59 +00:00
Remove always false comparison PSA_PAKE_PRIMITIVE
Always false comparison triggered compiler warnings. Removing comparison while preserving semantics to achieve clean build. Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
parent
60fa7c59b2
commit
ed82716546
@ -2566,7 +2566,7 @@ static inline int mbedtls_svc_key_id_is_null( mbedtls_svc_key_id_t key )
|
||||
* ::psa_pake_primitive_t.
|
||||
*/
|
||||
#define PSA_PAKE_PRIMITIVE(pake_type, pake_family, pake_bits) \
|
||||
(pake_bits > 0xFFFF) ? 0 : \
|
||||
((pake_bits & 0xFFFF) != pake_bits) ? 0 : \
|
||||
((psa_pake_primitive_t) (((pake_type) << 24 | \
|
||||
(pake_family) << 16) | (pake_bits)))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user