Remove redundant test

This commit is contained in:
Frank Denis 2017-09-18 23:57:03 +02:00
parent 525c21ed10
commit 61214ba6b9

View File

@ -271,11 +271,6 @@ sodium_base642bin(unsigned char * const bin, const size_t bin_maxlen,
} }
if (d == 0xFF) { if (d == 0xFF) {
if (ignore != NULL && strchr(ignore, c) != NULL) { if (ignore != NULL && strchr(ignore, c) != NULL) {
if (b64_pos >= b64_len) {
errno = ERANGE;
ret = -1;
break;
}
b64_pos++; b64_pos++;
continue; continue;
} }