]> git.ipfire.org Git - thirdparty/curl.git/commit
vtls: avoid forward declaration in MultiSSL builds
authorTal Regev <tal.regev@gmail.com>
Tue, 30 Jul 2024 03:07:50 +0000 (06:07 +0300)
committerViktor Szakats <commit@vsz.me>
Tue, 30 Jul 2024 20:11:20 +0000 (22:11 +0200)
commit98da147b18fa4963efb425df8400ca40e7526646
tree8685111233093f5a738306ade75fb3028950815a
parent8153b8e5805c3f215da07325187007aaaa6da6de
vtls: avoid forward declaration in MultiSSL builds

The MSVC compiler cannot have forward declaration with const and static
variable, causing this error:
```
curl\lib\vtls\vtls.c(417,44): warning C4132: 'Curl_ssl_multi': const object should be initialized
```

Ref: #14276
Closes #14305
lib/vtls/vtls.c