mirror of
https://github.com/curl/curl.git
synced 2026-07-31 21:18:04 +03:00
vtls: replace "none"-functions with NULL pointers
For TLS backends that don't need these functions, they now use plain NULL pointers instead of setting a function that does nothing. Helps making it clearer that a specific TLS handler does not provide anything specific for that action. Closes #15772
This commit is contained in:
parent
9fce2c55d4
commit
2bf48b48b3
12 changed files with 101 additions and 187 deletions
|
|
@ -991,7 +991,7 @@ static CURLcode setopt_long(struct Curl_easy *data, CURLoption option,
|
|||
/*
|
||||
* Enable TLS false start.
|
||||
*/
|
||||
if(!Curl_ssl_false_start(data))
|
||||
if(!Curl_ssl_false_start())
|
||||
return CURLE_NOT_BUILT_IN;
|
||||
|
||||
data->set.ssl.falsestart = enabled;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue