summaryrefslogtreecommitdiff
path: root/tests/t-ed25519.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t-ed25519.c')
-rw-r--r--tests/t-ed25519.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/t-ed25519.c b/tests/t-ed25519.c
index 38e154de..d63c145d 100644
--- a/tests/t-ed25519.c
+++ b/tests/t-ed25519.c
@@ -548,6 +548,10 @@ main (int argc, char **argv)
gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
+ /* Ed25519 isn't supported in fips mode */
+ if (gcry_fips_mode_active())
+ return 77;
+
start_timer ();
check_ed25519 (fname);
stop_timer ();