mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Fix crypto vectors test in meson.
Otherwise it gets skipped in meson everytime.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user