summaryrefslogtreecommitdiff
path: root/tests/rehandshake-ext-secret.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rehandshake-ext-secret.c')
-rw-r--r--tests/rehandshake-ext-secret.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/rehandshake-ext-secret.c b/tests/rehandshake-ext-secret.c
index cdb8f5e838..93d26ca4c7 100644
--- a/tests/rehandshake-ext-secret.c
+++ b/tests/rehandshake-ext-secret.c
@@ -153,6 +153,14 @@ static void try(unsigned onclient)
void doit(void)
{
+ /* This test does not work with TLS 1.2 under FIPS, as
+ * extended master secret extension needs to be negotiated
+ * through extensions, while %NO_SESSION_HASH is set.
+ */
+ if (gnutls_fips140_mode_enabled()) {
+ exit(77);
+ }
+
try(0);
reset_buffers();
try(1);