libtar: dynamically choose fscrypt policy [1/2]
Change-Id: I0e08365cc1500bc67bc8cf9cc07bafc607333d49
Signed-off-by: Mohd Faraz <androiabledroid@gmail.com>
(cherry picked from commit 97b849918cf578eec5419de6a8061f11164527af)
diff --git a/libtar/libtar.h b/libtar/libtar.h
index 8013e61..f42b201 100755
--- a/libtar/libtar.h
+++ b/libtar/libtar.h
@@ -71,11 +71,7 @@
char *gnu_longlink;
char *selinux_context;
#ifdef USE_FSCRYPT
-#ifdef USE_FSCRYPT_POLICY_V1
- struct fscrypt_policy_v1 *fep;
-#else
- struct fscrypt_policy_v2 *fep;
-#endif
+ fscrypt_policy *fep;
#endif
int has_cap_data;
struct vfs_cap_data cap_data;