aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2018-09-30 16:57:14 -0400
committerViktor Dukhovni <openssl-users@dukhovni.org>2018-12-09 22:02:50 -0500
commitd8adf68cd6b7c934f12e7db14ddfc33b8cdd5797 (patch)
treeda311d0e3b609b7f4de720c4f9942f2b816271aa /test
parent8343229bc4b8ac04e3a15d0645c453da84cab8d8 (diff)
downloadopenssl-d8adf68cd6b7c934f12e7db14ddfc33b8cdd5797.tar.gz
Use a const variable
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'test')
-rw-r--r--test/testutil/stanza.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/testutil/stanza.c b/test/testutil/stanza.c
index eb16322025..e28362025a 100644
--- 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++;