gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 107/205: openssl: made the error table static const


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 107/205: openssl: made the error table static const
Date: Thu, 20 Apr 2017 16:20:47 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.

commit f99fcb0feec29703b900ba6ab045f76ff9ef3bfc
Author: Dan Fandrich <address@hidden>
AuthorDate: Thu Mar 23 22:50:58 2017 +0100

    openssl: made the error table static const
---
 lib/vtls/openssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 */

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]