- properly terminate base64 data.

This commit is contained in:
Christoph Oelckers 2021-05-13 13:22:01 +02:00
parent a6f62773cb
commit bdfe40af7c

View file

@ -89,8 +89,8 @@ TArray<uint8_t> base64_encode(unsigned char const* bytes_to_encode, size_t in_le
while((i++ < 3))
reta.Push('=');
reta.Push(0);
}
reta.Push(0);
return reta;