Skip to content
Snippets Groups Projects
Commit 3488e256 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Fix failing base64.test

parent c317dad2
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ base64_test(const char *str)
header();
int len = strlen(str);
int base64_buflen = len * 4/3 + 4;
int base64_buflen = base64_bufsize(len);
char *base64_buf = malloc(base64_buflen);
char *strbuf = malloc(len + 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment