Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
e4fbdca5
Commit
e4fbdca5
authored
Dec 28, 2006
by
Rémi Denis-Courmont
Browse files
Use RFC4648 test vectors
parent
93fc2052
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/url.c
View file @
e4fbdca5
...
...
@@ -81,10 +81,12 @@ int main (void)
/* Base 64 tests */
test_b64
(
""
,
""
);
test_b64
(
"d"
,
"ZA=="
);
test_b64
(
"ab"
,
"YWI="
);
test_b64
(
"abc"
,
"YWJj"
);
test_b64
(
"abcd"
,
"YWJjZA=="
);
test_b64
(
"f"
,
"Zg=="
);
test_b64
(
"fo"
,
"Zm8="
);
test_b64
(
"foo"
,
"Zm9v"
);
test_b64
(
"foob"
,
"Zm9vYg=="
);
test_b64
(
"fooba"
,
"Zm9vYmE="
);
test_b64
(
"foobar"
,
"Zm9vYmFy"
);
return
0
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment