Skip to content
Snippets Groups Projects
Commit 393ef3a3 authored by Oliver Smith's avatar Oliver Smith
Browse files

Merge branch 'luks_autodetect' into 'master'

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

See merge request postmarketOS/osk-sdl!82
parents 95f50589 acc842fb
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