mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
openssl: made the error table static const
This commit is contained in:
parent
b999d35c71
commit
f99fcb0fee
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user