]> git.ipfire.org Git - thirdparty/curl.git/commit
GHA/windows: add MSVC wolfSSL job with test
authorTal Regev <tal.regev@gmail.com>
Mon, 15 Jul 2024 18:29:17 +0000 (21:29 +0300)
committerViktor Szakats <commit@vsz.me>
Tue, 16 Jul 2024 09:56:34 +0000 (11:56 +0200)
commitdfbdcb93ae4c0343e8d0db30fa63b86de899dbe5
treee26487058e137ac1a94cafd25982c315836997ef
parent09cdf7e5315711dea4ce7dcf5d99a4d41e7f658b
GHA/windows: add MSVC wolfSSL job with test

Fix the file of wolfssl.c because of this warning/error:
```
curl\lib\vtls\wolfssl.c(1017,42): error C2220: the following warning is treated as an error [curl\bld\lib\libcurl_object.vcxproj]
curl\lib\vtls\wolfssl.c(1017,42): warning C4267: 'function': conversion from 'size_t' to 'unsigned long', possible loss of data [curl\bld\lib\libcurl_object.vcxproj]
```

`size_t` in MSVC is different. Change it to `unsigned long` because
`wolfSSL_ERR_error_string_n` last argument is defined as
`unsigned long`.

Closes #14193
.github/workflows/windows.yml
lib/vtls/wolfssl.c