curl/lib/vtls
Daniel Stenberg 9ee6da65d8
openssl: fix infof() to avoid compiler warning for %s with null
vtls/openssl.c: In function ‘ossl_connect_step2’:
../lib/curl_trc.h:120:10: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
  120 |          Curl_infof(data, __VA_ARGS__); } while(0)
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vtls/openssl.c:4008:5: note: in expansion of macro ‘infof’
 4008 |     infof(data, "SSL connection using %s / %s / %s / %s",
      |     ^~~~~
vtls/openssl.c:4008:49: note: format string is defined here
 4008 |     infof(data, "SSL connection using %s / %s / %s / %s",
      |                                                 ^~

Follow-up to b6e6d4ff8f
Closes #12196
2023-10-26 17:43:38 +02:00
..
bearssl.c
bearssl.h
gtls.c
gtls.h
hostcheck.c
hostcheck.h
keylog.c
keylog.h
mbedtls_threadlock.c
mbedtls_threadlock.h
mbedtls.c
mbedtls.h
openssl.c openssl: fix infof() to avoid compiler warning for %s with null 2023-10-26 17:43:38 +02:00
openssl.h
rustls.c
rustls.h
schannel_int.h
schannel_verify.c
schannel.c
schannel.h
sectransp.c
sectransp.h
vtls_int.h
vtls.c
vtls.h
wolfssl.c
wolfssl.h
x509asn1.c
x509asn1.h