diff options
author | Timo Teräs <timo.teras@iki.fi> | 2012-02-10 14:19:11 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2012-02-10 14:19:53 +0200 |
commit | 073df81973907469a0e5dfb1a064201df8e05b80 (patch) | |
tree | cd57daf25e73c959c4b4250ae1f7dd967ac52389 /src | |
parent | fe9b4a38888f82c0e4541cf31660d1e4329ac20d (diff) | |
download | apk-tools-073df81973907469a0e5dfb1a064201df8e05b80.tar.gz apk-tools-073df81973907469a0e5dfb1a064201df8e05b80.tar.bz2 apk-tools-073df81973907469a0e5dfb1a064201df8e05b80.tar.xz apk-tools-073df81973907469a0e5dfb1a064201df8e05b80.zip |
blob: fix base64 decoding after previous optimizations
Diffstat (limited to 'src')
-rw-r--r-- | src/blob.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -534,7 +534,7 @@ int pull_b64_chunk(unsigned char *to, const unsigned char *from, int len) unsigned char tmp[4]; int i, r = 0; - for (i = 0; i < len; i++) { + for (i = 0; i < 4; i++) { tmp[i] = b64decode[from[i]]; r |= tmp[i]; } |