aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/vtls/openssl.c2
1 files changed, 1 insertions, 1 deletions
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 */