projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8343229
)
Use a const variable
author
Christos Zoulas
<christos@zoulas.com>
Sun, 30 Sep 2018 20:57:14 +0000
(16:57 -0400)
committer
Viktor Dukhovni
<openssl-users@dukhovni.org>
Mon, 10 Dec 2018 03:02:50 +0000
(22:02 -0500)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
test/testutil/stanza.c
patch
|
blob
|
history
diff --git
a/test/testutil/stanza.c
b/test/testutil/stanza.c
index eb16322025004b328a020747e5578e78ac26bc2c..e28362025a621d9a71e3911e104518a16f2042f5 100644
(file)
--- a/
test/testutil/stanza.c
+++ b/
test/testutil/stanza.c
@@
-86,7
+86,8
@@
static char *strip_spaces(char *p)
int test_readstanza(STANZA *s)
{
PAIR *pp = s->pairs;
- char *p, *equals, *key, *value;
+ char *p, *equals, *key;
+ const char *value;
for (s->numpairs = 0; BIO_gets(s->fp, s->buff, sizeof(s->buff)); ) {
s->curr++;