From f99fcb0feec29703b900ba6ab045f76ff9ef3bfc Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 23 Mar 2017 22:50:58 +0100 Subject: openssl: made the error table static const --- lib/vtls/openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/vtls') diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 25026ab25..3b34479bb 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -162,7 +162,7 @@ static unsigned long OpenSSL_version_num(void) static const char *SSL_ERROR_to_str(int err) { - const char *str[] = { + static const char * const str[] = { "SSL_ERROR_NONE", /* 0 */ "SSL_ERROR_SSL", /* 1 */ "SSL_ERROR_WANT_READ", /* 2 */ -- cgit v1.2.3