From 9aac2328c6544ac794571759621cf262cd5d8a29 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Tue, 18 Nov 2008 09:11:34 +0000 Subject: Made an array static const --- lib/gtls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3