aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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;