diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-06-24 12:10:59 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-06-24 12:10:59 -0400 |
commit | 4b32c33ed06f4eaac1e01b22a53164885c628003 (patch) | |
tree | 8162ffb83f488ddbb542c926e35b516c1d06dbca /sys-fs/encfs/files/encfs-1.7.4-r68:69.patch | |
parent | Add DEPRECATED notice. (diff) | |
download | hardened-dev-musl.tar.gz hardened-dev-musl.tar.bz2 hardened-dev-musl.zip |
Clear out the repo to discourage its use. See DEPRECATED.musl
Diffstat (limited to 'sys-fs/encfs/files/encfs-1.7.4-r68:69.patch')
-rw-r--r-- | sys-fs/encfs/files/encfs-1.7.4-r68:69.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/sys-fs/encfs/files/encfs-1.7.4-r68:69.patch b/sys-fs/encfs/files/encfs-1.7.4-r68:69.patch deleted file mode 100644 index 0c27095f..00000000 --- a/sys-fs/encfs/files/encfs-1.7.4-r68:69.patch +++ /dev/null @@ -1,31 +0,0 @@ -Index: encfs/base64.cpp -=================================================================== ---- encfs/base64.cpp (revision 68) -+++ encfs/base64.cpp (revision 69) -@@ -80,7 +80,7 @@ - } - - // we have at least one value that can be output -- char outVal = work & mask; -+ unsigned char outVal = work & mask; - work >>= dst2Pow; - workBits -= dst2Pow; - -@@ -96,8 +96,15 @@ - *outLoc++ = outVal; - - // we could have a partial value left in the work buffer.. -- if(workBits && outputPartialLastByte) -- *outLoc = work & mask; -+ if(outputPartialLastByte) -+ { -+ while(workBits > 0) -+ { -+ *outLoc++ = work & mask; -+ work >>= dst2Pow; -+ workBits -= dst2Pow; -+ } -+ } - } - } - |