diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-05-20 16:22:02 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-05-20 16:22:02 -0400 |
commit | f5569153b7df6d141164c27040ef0076732f2da7 (patch) | |
tree | 338e90c0f5de223bf790b85410838c0bc21cc61d /file_cmds/mtree/commoncrypto.c | |
parent | 591e92d95c376763dde539fadf0498bd1358073d (diff) | |
download | apple_cmds-f5569153b7df6d141164c27040ef0076732f2da7.tar.gz apple_cmds-f5569153b7df6d141164c27040ef0076732f2da7.tar.zst apple_cmds-f5569153b7df6d141164c27040ef0076732f2da7.zip |
file_cmds: 321.100.10.0.1
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 11e97ce..0ac621c 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); |