summaryrefslogtreecommitdiffstats
path: root/twrpTar.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-04-02 17:54:12 +0200
committerEthan Yonker <dees_troy@teamw.in>2014-04-02 17:54:18 +0200
commit924a80b7b3262cf635dccab7ab857e5eae7c7fd3 (patch)
tree6ff260936e407a62142e7b579f71a12a79705984 /twrpTar.cpp
parentMerge "Refresh page after updating partition sizes" into android-4.4 (diff)
downloadandroid_bootable_recovery-924a80b7b3262cf635dccab7ab857e5eae7c7fd3.tar
android_bootable_recovery-924a80b7b3262cf635dccab7ab857e5eae7c7fd3.tar.gz
android_bootable_recovery-924a80b7b3262cf635dccab7ab857e5eae7c7fd3.tar.bz2
android_bootable_recovery-924a80b7b3262cf635dccab7ab857e5eae7c7fd3.tar.lz
android_bootable_recovery-924a80b7b3262cf635dccab7ab857e5eae7c7fd3.tar.xz
android_bootable_recovery-924a80b7b3262cf635dccab7ab857e5eae7c7fd3.tar.zst
android_bootable_recovery-924a80b7b3262cf635dccab7ab857e5eae7c7fd3.zip
Diffstat (limited to '')
-rw-r--r--twrpTar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/twrpTar.cpp b/twrpTar.cpp
index b053c08d4..ad328dd01 100644
--- a/twrpTar.cpp
+++ b/twrpTar.cpp
@@ -234,6 +234,7 @@ int twrpTar::createTarFork() {
enc[i].ItemList = &EncryptList;
enc[i].thread_id = i;
enc[i].use_encryption = use_encryption;
+ enc[i].setpassword(password);
enc[i].use_compression = use_compression;
enc[i].split_archives = 1;
LOGINFO("Start encryption thread %i\n", i);
@@ -379,6 +380,7 @@ int twrpTar::extractTarFork() {
if (TWFunc::Path_Exists(actual_filename)) {
thread_count++;
tars[i].basefn = basefn;
+ tars[i].setpassword(password);
tars[i].thread_id = i;
LOGINFO("Creating extract thread ID %i\n", i);
ret = pthread_create(&tar_thread[i], &tattr, extractMulti, (void*)&tars[i]);