Skip to content

cmCurl: Avoid using undocumented type for CURLOPT_NETRC values

Since upstream curl PR 16482, commit 2ec00372a1 (curl.h: change some enums to defines with L suffix, 2025-02-25), the CURL_NETRC_* constants are integer literals instead of enum CURL_NETRC_OPTION. It turns out that curl_easy_setopt has always expected a long anyway, and that CURL_NETRC_OPTION is not documented for public use.

Fixes: #26754 (closed)
Backport: release
Manual-backport: release-3.31

Edited by Brad King

Merge request reports

Loading