mirror of
https://github.com/curl/curl.git
synced 2026-07-24 17:37:18 +03:00
Made an array static const
This commit is contained in:
parent
e5084c1eca
commit
9aac2328c6
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue