curl/lib/vtls
Viktor Szakats 9f9d2d10d9
lib1587: fix gcc -Wconversion with LibreSSL on Windows, test in CI
By exposing and reusing existing custom type via `vtls/openss.h`.

Also:
- GHA/curl-for-win: test in CI by enabling building tests.
  Cost is 45s per job, so limit it to the gcc job.

Seen with Windows x64 gcc (not tested in CI prior to this patch):
```
tests/libtest/lib1587.c:50:7: error: conversion from 'opt1587' {aka 'long long unsigned int'} to 'long int' may change value [-Werror=conversion]
   50 |       SSL_CTX_set_options(info->internals, opts);
      |       ^~~~~~~~~~~~~~~~~~~
tests/libtest/lib1587.c:59:7: error: conversion from 'opt1587' {aka 'long long unsigned int'} to 'long int' may change value [-Werror=conversion]
   59 |       SSL_set_options(info->internals, opts);
      |       ^~~~~~~~~~~~~~~
```
Ref: https://github.com/curl/curl/actions/runs/28258372229/job/83727170184?pr=22195#step:3:4884

Ref: da2f05e6f6 #22198
Ref: 6163566461 #22197
Follow-up to 3e40ccb875 #21290
Follow-up to 2db8ae480f #17809 #17801

Closes #22195
2026-06-26 22:44:53 +02:00
..
apple.c ngtcp2: share common functionality 2026-06-10 13:28:05 +02:00
apple.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
cipher_suite.c tidy-up: drop stray comparisons with literal zero 2026-06-10 15:15:54 +02:00
cipher_suite.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
gtls.c tidy-up: drop stray comparisons with literal zero 2026-06-10 15:15:54 +02:00
gtls.h gtls: fix some typos 2026-05-05 08:46:26 +02:00
hostcheck.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
hostcheck.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
keylog.c tidy-up: drop redundant != NULL syntax 2026-06-09 14:37:36 +02:00
keylog.h tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
mbedtls.c tidy-up: syntax and code nits 2026-06-26 15:45:24 +02:00
mbedtls.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
openssl.c lib1587: fix gcc -Wconversion with LibreSSL on Windows, test in CI 2026-06-26 22:44:53 +02:00
openssl.h lib1587: fix gcc -Wconversion with LibreSSL on Windows, test in CI 2026-06-26 22:44:53 +02:00
rustls.c dns-httpsrr-lookup: use origin, not peer 2026-06-17 12:04:49 +02:00
rustls.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
schannel.c tidy-up: syntax and code nits 2026-06-26 15:45:24 +02:00
schannel.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
schannel_int.h windows: update MS SDK versions in comments 2026-05-15 03:41:33 +02:00
schannel_verify.c tidy-up: miscellaneous 2026-06-11 19:48:07 +02:00
vtls.c tidy-up: syntax and code nits 2026-06-26 15:45:24 +02:00
vtls.h tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
vtls_config.c tidy-up: make 'CA' uppercase, where missing 2026-06-22 21:04:45 +02:00
vtls_config.h vtls_config: adjust to origin 2026-06-01 09:39:17 +02:00
vtls_int.h tidy-up: apply clang-format fixes 2026-05-28 00:05:47 +02:00
vtls_scache.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
vtls_scache.h ngtcp2: share common functionality 2026-06-10 13:28:05 +02:00
vtls_spack.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
vtls_spack.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
wolfssl.c tidy-up: syntax and code nits 2026-06-26 15:45:24 +02:00
wolfssl.h wolfssl: fix -Wmissing-prototypes 2026-04-21 10:09:58 +02:00
x509asn1.c x509asn1: fix DH public key parameter extraction 2026-05-16 01:06:56 +02:00
x509asn1.h x509asn1: fixed and adapted for ASN1tostr unit testing 2026-03-20 13:03:40 +01:00