Commit f99fcb0f authored by Dan Fandrich's avatar Dan Fandrich
Browse files

openssl: made the error table static const

parent b999d35c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */