diff options
Diffstat (limited to 'tests/test-chains.h')
-rw-r--r-- | tests/test-chains.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test-chains.h b/tests/test-chains.h index d00f8b3b65..934d743c0d 100644 --- a/tests/test-chains.h +++ b/tests/test-chains.h @@ -3773,6 +3773,11 @@ static const char *tls_feat_superset[] = { NULL }; +#if defined __clang__ || __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wunused-variable" +#endif + static struct { const char *name; @@ -3925,4 +3930,9 @@ static struct { "rsa pss: chain with changing hashes - ok", rsa_pss_chain_sha512_sha384_sha256_ok, &rsa_pss_chain_sha512_sha384_sha256_ok[3], 0, 0, 0, 1501159136}, { NULL, NULL, NULL, 0, 0} }; + +#if defined __clang__ || __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) +# pragma GCC diagnostic pop +#endif + /* *INDENT-ON* */ |