[tests] test_base64.c clear buf vs reset

(can be slightly faster to clear buffer than to reset buffer)
Glenn Strauss 2020-07-30 07:45:48 -04:00
parent f7919c1ae3
commit d44a26bfa3
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ inline
static void check_base64 (char *out, const size_t out_sz, const char *in, const size_t in_len, const base64_charset enc) {
force_assert(out_sz == li_to_base64_no_padding(out, out_sz, (const unsigned char *)in, in_len, enc));
force_assert(NULL != buffer_append_base64_decode(check, out, out_sz, enc));
force_assert(buffer_eq_slen(check, in, in_len));