Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wim Lewis
nettle
Commits
c314d0d2
Commit
c314d0d2
authored
Feb 07, 2014
by
Niels Möller
Browse files
Updated base64 test case.
parent
e6ecd591
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
c314d0d2
2014-02-07 Niels Möller <nisse@lysator.liu.se>
* testsuite/base64-test.c (test_main): Updated
base64_decode_update test case.
* sexp-transport.c (sexp_transport_iterator_first): For
base64_decode_update, omit initialization of coded_length.
...
...
testsuite/base64-test.c
View file @
c314d0d2
...
...
@@ -39,7 +39,7 @@ test_main(void)
ASSERT
(
MEMEQ
(
9
,
buffer
,
"SGVsbG8=x"
));
base64_decode_init
(
&
ctx
);
dst_length
=
8
;
dst_length
=
0
;
/* Output parameter only. */
ASSERT
(
base64_decode_update
(
&
ctx
,
&
dst_length
,
buffer
,
8
,
buffer
));
ASSERT
(
dst_length
==
5
);
...
...
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