← Commit list

3dd6a87a7f

Jay Satiro
Jay Satiro
2026-07-03
SUCCESS Duration: 178s

Subject

wolfssl: fix build for wolfssl without bio chain support

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/vtls/wolfssl.c+11 -9
@@ -1539,15 +1539,17 @@ static CURLcode wssl_connect_step1(struct Curl_cfilter *cf,
wolfSSL_set_bio(wssl->ssl, bio, bio);
}
#else /* !USE_BIO_CHAIN */
- curl_socket_t sockfd = Curl_conn_cf_get_socket(cf, data);
- if(sockfd > INT_MAX) {
- failf(data, "SSL: socket value too large");
- return CURLE_SSL_CONNECT_ERROR;
- }
- /* pass the raw socket into the SSL layer */
- if(!wolfSSL_set_fd(wssl->ssl, (int)sockfd)) {
- failf(data, "SSL: wolfSSL_set_fd failed");
- return CURLE_SSL_CONNECT_ERROR;
+ {
+ curl_socket_t sockfd = Curl_conn_cf_get_socket(cf, data);
+ if(sockfd > INT_MAX) {
+ failf(data, "SSL: socket value too large");
+ return CURLE_SSL_CONNECT_ERROR;
+ }
+ /* pass the raw socket into the SSL layer */
+ if(!wolfSSL_set_fd(wssl->ssl, (int)sockfd)) {
+ failf(data, "SSL: wolfSSL_set_fd failed");
+ return CURLE_SSL_CONNECT_ERROR;
+ }
}
#endif /* USE_BIO_CHAIN */