summaryrefslogtreecommitdiffstats
path: root/test/destest.c
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2018-09-30 22:53:22 +0200
committerViktor Dukhovni <openssl-users@dukhovni.org>2018-12-10 04:02:48 +0100
commit4b6ae3c3c2ce37a766049491af8e8b2426b1a46f (patch)
tree437d24d111d38d0cfa986199cf72f93254ff8446 /test/destest.c
parentuse the proper types to eliminate casts (diff)
downloadopenssl-4b6ae3c3c2ce37a766049491af8e8b2426b1a46f.tar.xz
openssl-4b6ae3c3c2ce37a766049491af8e8b2426b1a46f.zip
add missing const
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'test/destest.c')
-rw-r--r--test/destest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/destest.c b/test/destest.c
index 6b57911de3..fe56d9a76b 100644
--- a/test/destest.c
+++ b/test/destest.c
@@ -287,7 +287,7 @@ static char *pt(const unsigned char *p, char buf[DATA_BUF_SIZE])
{
char *ret;
int i;
- static char *f = "0123456789ABCDEF";
+ static const char *f = "0123456789ABCDEF";
ret = &(buf[0]);
for (i = 0; i < 8; i++) {