mirror of
https://github.com/curl/curl.git
synced 2026-05-05 07:57:17 +03:00
bearssl: remove incorrect const on variable that is modified
hostname may be set to NULL later on in this function if it is an IP address. Closes #7133
This commit is contained in:
parent
6b951a6928
commit
a03ea62239
1 changed files with 1 additions and 1 deletions
|
|
@ -300,7 +300,7 @@ static CURLcode bearssl_connect_step1(struct Curl_easy *data,
|
|||
struct ssl_connect_data *connssl = &conn->ssl[sockindex];
|
||||
struct ssl_backend_data *backend = connssl->backend;
|
||||
const char * const ssl_cafile = SSL_CONN_CONFIG(CAfile);
|
||||
const char * const hostname = SSL_HOST_NAME();
|
||||
const char *hostname = SSL_HOST_NAME();
|
||||
const bool verifypeer = SSL_CONN_CONFIG(verifypeer);
|
||||
const bool verifyhost = SSL_CONN_CONFIG(verifyhost);
|
||||
CURLcode ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue