Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dmitry Baryshkov
nettle
Commits
3d9cee92
Commit
3d9cee92
authored
Sep 03, 2016
by
Niels Möller
Browse files
Update to use const char * for sexp_iterator_assoc.
parent
fa56eecc
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
3d9cee92
...
...
@@ -14,6 +14,9 @@
* testsuite/md5-compat-test.c (test_main): Use US macro.
* testsuite/sexp-test.c (test_main): Use const char * for assoc
keys. Overlooked in 2016-08-16 change.
2016-08-29 Niels Möller <nisse@lysator.liu.se>
* sexp-format.c (strlen_u8): New helper function.
...
...
testsuite/sexp-test.c
View file @
3d9cee92
...
...
@@ -70,7 +70,7 @@ test_main(void)
}
{
static
const
uint8_
t
*
keys
[
2
]
=
{
"n"
,
"e"
};
static
const
char
*
cons
t
keys
[
2
]
=
{
"n"
,
"e"
};
struct
sexp_iterator
v
[
2
];
ASSERT
(
sexp_iterator_first
(
&
i
,
LDATA
(
"((1:n2:xx3:foo)0:(1:y)(1:e))"
)));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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