Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nettle
nettle
Commits
3d9cee92
Commit
3d9cee92
authored
Sep 03, 2016
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to use const char * for sexp_iterator_assoc.
parent
fa56eecc
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/sexp-test.c
testsuite/sexp-test.c
+1
-1
No files found.
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
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