Commit 073df819 authored by Timo Teräs's avatar Timo Teräs

blob: fix base64 decoding after previous optimizations

parent fe9b4a38
...@@ -534,7 +534,7 @@ int pull_b64_chunk(unsigned char *to, const unsigned char *from, int len) ...@@ -534,7 +534,7 @@ int pull_b64_chunk(unsigned char *to, const unsigned char *from, int len)
unsigned char tmp[4]; unsigned char tmp[4];
int i, r = 0; int i, r = 0;
for (i = 0; i < len; i++) { for (i = 0; i < 4; i++) {
tmp[i] = b64decode[from[i]]; tmp[i] = b64decode[from[i]];
r |= tmp[i]; r |= tmp[i];
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment