diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-05-21 09:21:42 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-05-21 09:21:42 -0400 |
commit | f06784df5a44c2aeb450ff88346a96f0bc9eb732 (patch) | |
tree | 49e9923a65f7cf572a6f0833737b72848299b1c8 /file_cmds/mtree/commoncrypto.c | |
parent | 0e3bb24ea8cde1573760b88ad56c1cc00be15cc8 (diff) | |
parent | 8d788054a62508f8d1b93067be16fb73f987ca8e (diff) | |
download | apple_cmds-f06784df5a44c2aeb450ff88346a96f0bc9eb732.tar.gz apple_cmds-f06784df5a44c2aeb450ff88346a96f0bc9eb732.tar.zst apple_cmds-f06784df5a44c2aeb450ff88346a96f0bc9eb732.zip |
Merge branch 'apple'
Diffstat (limited to 'file_cmds/mtree/commoncrypto.c')
-rw-r--r-- | file_cmds/mtree/commoncrypto.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/file_cmds/mtree/commoncrypto.c b/file_cmds/mtree/commoncrypto.c index 36cfcb8..fd4258e 100644 --- a/file_cmds/mtree/commoncrypto.c +++ b/file_cmds/mtree/commoncrypto.c @@ -105,7 +105,8 @@ xattr_info * SHA256_Path_XATTRs(char *path, char *buf) { xattr_info *ai = NULL; - if (mflag) { + // mflag is passed during manifest comparision while xflag is used to generate the specification + if (mflag || xflag) { ai = get_xdstream_privateid(path, buf); } else { ai = calculate_SHA256_XATTRs(path, buf); |