diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2017-03-23 22:50:58 +0100 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2017-03-23 22:50:58 +0100 |
commit | f99fcb0feec29703b900ba6ab045f76ff9ef3bfc (patch) | |
tree | cc48966105c0c6cf5949d948db56bd0d92e93890 /lib/vtls | |
parent | b999d35c71904d72bd38b432cb9cc57898d32cbc (diff) |
openssl: made the error table static const
Diffstat (limited to 'lib/vtls')
-rw-r--r-- | lib/vtls/openssl.c | 2 |
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 */ |