diff options
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 0c27095..0000000 --- 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; -+ } -+ } - } - } - |