mirror of
https://github.com/openssl/openssl.git
synced 2025-03-31 20:10:45 +08:00
Use a const variable
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
This commit is contained in:
parent
8343229bc4
commit
d8adf68cd6
@ -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++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user