Commit 34734395 authored by Milan Broz's avatar Milan Broz

Set configured default iteration time early in crypt_init constructor.

parent a3ee8f9c
......@@ -470,7 +470,7 @@ int crypt_init(struct crypt_device **cd, const char *device)
dm_backend_init();
h->iteration_time = 1000;
h->iteration_time = DEFAULT_LUKS1_ITER_TIME;
h->rng_type = crypt_random_default_key_rng();
*cd = h;
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment