aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-11-18 09:11:34 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-11-18 09:11:34 +0000
commit9aac2328c6544ac794571759621cf262cd5d8a29 (patch)
tree0949312de5598e6f221df66fdfaf28bf2a92384f /lib
parente5084c1eca5bca632e15ba1f8ed1e95163244588 (diff)
Made an array static const
Diffstat (limited to 'lib')
-rw-r--r--lib/gtls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gtls.c b/lib/gtls.c
index 1e054d16f..53a7400a8 100644
--- a/lib/gtls.c
+++ b/lib/gtls.c
@@ -345,7 +345,7 @@ Curl_gtls_connect(struct connectdata *conn,
return CURLE_SSL_CONNECT_ERROR;
if(data->set.ssl.version == CURL_SSLVERSION_SSLv3) {
- int protocol_priority[] = { GNUTLS_SSL3, 0 };
+ static const int protocol_priority[] = { GNUTLS_SSL3, 0 };
gnutls_protocol_set_priority(session, protocol_priority);
if(rc < 0)
return CURLE_SSL_CONNECT_ERROR;