]> git.ipfire.org Git - thirdparty/curl.git/commit
vtls: replace "none"-functions with NULL pointers
authorDaniel Stenberg <daniel@haxx.se>
Wed, 18 Dec 2024 10:46:37 +0000 (11:46 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 18 Dec 2024 12:14:07 +0000 (13:14 +0100)
commit2bf48b48b3e564bcbf3249bf4a2d786849c57bc1
tree16bc0ed408212f1ac7fa9a5822b2ccb1fe48129e
parent9fce2c55d4b0273ac99b59bd8cb982a6d96b88cf
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
12 files changed:
lib/setopt.c
lib/vtls/bearssl.c
lib/vtls/gtls.c
lib/vtls/mbedtls.c
lib/vtls/openssl.c
lib/vtls/rustls.c
lib/vtls/schannel.c
lib/vtls/sectransp.c
lib/vtls/vtls.c
lib/vtls/vtls.h
lib/vtls/vtls_int.h
lib/vtls/wolfssl.c