diff --git a/tests/crypto-vectors.c b/tests/crypto-vectors.c index 02e6be38..58d13099 100644 --- a/tests/crypto-vectors.c +++ b/tests/crypto-vectors.c @@ -1533,10 +1533,12 @@ int main(__attribute__ ((unused)) int argc, __attribute__ ((unused))char *argv[] { setvbuf(stdout, NULL, _IONBF, 0); +#ifndef NO_CRYPTSETUP_PATH if (getenv("CRYPTSETUP_PATH")) { printf("Cannot run this test with CRYPTSETUP_PATH set.\n"); exit(77); } +#endif if (crypt_backend_init(fips_mode())) exit_test("Crypto backend init error.", EXIT_FAILURE);