Fix crypto vectors test in meson.

Otherwise it gets skipped in meson everytime.
This commit is contained in:
Ondrej Kozina
2024-02-21 15:56:03 +01:00
parent 91c1d2202a
commit 35cd898c63

View File

@@ -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);