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
@ -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…
Reference in New Issue
Block a user