blob: fix base64 decoding after previous optimizations

cute-signatures
Timo Teräs 2012-02-10 14:19:11 +02:00
parent fe9b4a3888
commit 073df81973
1 changed files with 1 additions and 1 deletions

View File

@ -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];
} }