Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Wim Lewis
nettle
Commits
c314d0d2
Commit
c314d0d2
authored
Feb 07, 2014
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated base64 test case.
parent
e6ecd591
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
ChangeLog
ChangeLog
+3
-0
testsuite/base64-test.c
testsuite/base64-test.c
+1
-1
No files found.
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
Markdown
is supported
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