From: Valentin Bartenev Date: Tue, 26 Oct 2021 13:14:07 +0000 (+0300) Subject: Removed surplus condition from Base64 decoded length counting. X-Git-Tag: 0.7.1~60 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=444c8758e57804c6d07ffe1a2a149a9324378812;p=njs.git Removed surplus condition from Base64 decoded length counting. --- diff --git a/src/njs_string.c b/src/njs_string.c index 027df981..fc7b3dec 100644 --- a/src/njs_string.c +++ b/src/njs_string.c @@ -1885,10 +1885,6 @@ njs_decode_base64_length_core(const njs_str_t *src, const u_char *basis, size_t len; for (len = 0; len < src->length; len++) { - if (src->start[len] == '=') { - break; - } - if (basis[src->start[len]] == 77) { break; }