Skip to content
Snippets Groups Projects
Commit acc842fb authored by Idan Horo's avatar Idan Horo
Browse files

Switch to automatic luks version detection (Allow both LUKS1 & 2)

parent 95f50589
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ int LuksDevice::unlock(void *luksDev){
}
// Load header
ret = crypt_load(cd, CRYPT_LUKS1, NULL);
ret = crypt_load(cd, NULL, NULL);
if (ret < 0) {
printf("crypt_load() failed on device %s.\n", crypt_get_device_name(cd));
crypt_free(cd);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment