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:
Daniel Stenberg 2024-12-18 11:46:37 +01:00
parent 9fce2c55d4
commit 2bf48b48b3
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
12 changed files with 101 additions and 187 deletions

View file

@ -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;