curl/lib/vtls
Daniel Stenberg d567cca1de
checksrc: fix SPACEBEFOREPAREN for conditions starting with "*"
The open paren check wants to warn for spaces before open parenthesis
for if/while/for but also for any function call. In order to avoid
catching function pointer declarations, the logic allows a space if the
first character after the open parenthesis is an asterisk.

I also spotted what we did not include "switch" in the check but we should.

This check is a little lame, but we reduce this problem by not allowing
that space for if/while/for/switch.

Reported-by: Emanuele Torre
Closes #11044
2023-04-27 17:24:47 +02:00
..
bearssl.c checksrc: fix SPACEBEFOREPAREN for conditions starting with "*" 2023-04-27 17:24:47 +02:00
bearssl.h
gskit.c
gskit.h
gtls.c proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
gtls.h
hostcheck.c hostcheck: fix host name wildcard checking 2023-04-26 09:07:27 +02:00
hostcheck.h
keylog.c
keylog.h
mbedtls_threadlock.c
mbedtls_threadlock.h
mbedtls.c
mbedtls.h
nss.c proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
nssg.h
openssl.c proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
openssl.h
rustls.c rustls: fix error in recv handling 2023-03-31 16:05:15 +02:00
rustls.h
schannel_verify.c
schannel.c schannel: add clarifying comment 2023-04-11 23:50:49 +02:00
schannel.h
sectransp.c checksrc: fix SPACEBEFOREPAREN for conditions starting with "*" 2023-04-27 17:24:47 +02:00
sectransp.h
vtls_int.h proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
vtls.c http2: support HTTP/2 to forward proxies, non-tunneling 2023-04-17 17:27:49 +02:00
vtls.h proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
wolfssl.c proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
wolfssl.h
x509asn1.c
x509asn1.h