Fix API mistake in crypt_reencrypt.

Introducing new version of crypt_reencrypt symbol including
previously missing usrptr parameter. This change should be
backward compatible for existing libcryptsetup users
until next recompilation where it needs to be fixed.
This commit is contained in:
Ondrej Kozina
2020-07-09 14:39:03 +02:00
committed by Milan Broz
parent 4604f00218
commit 367cb7a761
5 changed files with 47 additions and 26 deletions

View File

@@ -3365,7 +3365,7 @@ static int action_reencrypt(void)
if (r >= 0 && !opt_reencrypt_init_only) {
set_int_handler(0);
r = crypt_reencrypt(cd, tools_reencrypt_progress);
r = crypt_reencrypt(cd, tools_reencrypt_progress, NULL);
}
out:
crypt_free(cd);