curl/lib/vtls
Viktor Szakats 22c45844af
strtok: use namespaced strtok_r macro instead of redefining it
krb5 defines `strtok_r` for Windows unconditionally in its public
header:
dc5554394e/src/include/win-mac.h (L214-L215)
resulting in this warning:
```
lib\strtok.h(31,9): warning C4005: 'strtok_r': macro redefinition
      C:\vcpkg\installed\x64-windows\include\win-mac.h(215,9):
      see previous definition of 'strtok_r'
```

The krb5 macro collides with curl's internal definition, in case
the `strtok_r` function is undetected and falling back to a local
replacement.

Reported-by: Tal Regev
Bug: https://github.com/curl/curl/pull/15549#issuecomment-2468251761
Closes #15564
2024-11-14 09:55:45 +01:00
..
.checksrc lib: enable strerror and strncpy checksrc warnings in subdirs 2024-09-09 16:51:21 +02:00
bearssl.c bearssl: improved session handling, test exceptions 2024-10-24 14:40:01 +02:00
bearssl.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
cipher_suite.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
cipher_suite.h rustls: add support for setting TLS version and ciphers 2024-08-16 09:55:02 +02:00
gtls.c source: avoid use of 'very' in comments 2024-10-17 13:36:33 +02:00
gtls.h gnutls: use session cache for QUIC 2024-10-11 23:37:47 +02:00
hostcheck.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
hostcheck.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
keylog.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
keylog.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
mbedtls_threadlock.c mbedtls: properly cleanup the thread-shared entropy 2024-03-12 03:09:37 -04:00
mbedtls_threadlock.h tidy-up: one comment and EOF newlines 2024-03-12 15:38:44 +00:00
mbedtls.c mbedtls: call psa_crypt_init() in global init 2024-11-07 13:14:41 +01:00
mbedtls.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
openssl.c ECH: enable support for the AWS-LC backend 2024-11-08 13:59:39 +01:00
openssl.h openssl: certinfo errors now fail correctly 2024-09-04 23:41:44 +02:00
rustls.c wolfssl: coexist with openssl, further work 2024-11-04 14:48:30 +01:00
rustls.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
schannel_int.h schannel: fix TLS cert verification by IP SAN 2024-10-31 08:59:37 +01:00
schannel_verify.c schannel: fix TLS cert verification by IP SAN 2024-10-31 08:59:37 +01:00
schannel.c schannel: reclassify extra-verbose schannel_recv messages 2024-10-24 10:34:20 +02:00
schannel.h build: do not publish HAVE_BORINGSSL, HAVE_AWSLC macros 2023-10-08 22:29:45 +00:00
sectransp.c strtok: use namespaced strtok_r macro instead of redefining it 2024-11-14 09:55:45 +01:00
sectransp.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
vtls_int.h wolfssl: coexist with openssl, further work 2024-11-04 14:48:30 +01:00
vtls.c wolfssl: coexist with openssl, further work 2024-11-04 14:48:30 +01:00
vtls.h TLS: TLSv1.3 earlydata support for curl 2024-10-11 12:28:22 +02:00
wolfssl.c wolfssl: coexist with openssl, further work 2024-11-04 14:48:30 +01:00
wolfssl.h wolfssl: coexist with openssl, further work 2024-11-04 14:48:30 +01:00
x509asn1.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
x509asn1.h x509asn1: unittests and fixes for gtime2str 2024-07-30 23:08:59 +02:00