[gnutls-devel] GnuTLS | crypto-selftests: mark CFB8 block sizes tests optional (!1743)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon May 22 16:48:50 CEST 2023




Alexander Sosedkin started a new discussion on lib/crypto-selftests.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1743#note_1400014246

> -		if (!(flags & GNUTLS_SELF_TEST_FLAG_ALL) || ret < 0) \
> -		return ret
> +#define CASE(x, func, vectors)			\
> +	case x:					\
> +		CHECK(x, func, vectors)
>  
> -#define NON_FIPS_CASE(x, func, vectors)                                      \
> -	case x:                                                              \
> -		if (_gnutls_fips_mode_enabled() == 0) {                      \
> -			ret = func(x, V(vectors), flags);                    \
> -			if (!(flags & GNUTLS_SELF_TEST_FLAG_ALL) || ret < 0) \
> -				return ret;                                  \
> -		}
> +#define NON_FIPS_CASE(x, func, vectors)			\
> +	case x:						\
> +		if (_gnutls_fips_mode_enabled() == 0)	\

No curly brackets around `CHECK`.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1743#note_1400014246
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20230522/f0199066/attachment-0001.html>


More information about the Gnutls-devel mailing list