Skip to content

Commit 75cf0fa

Browse files
committed
EasyCURL handle older curl
1 parent 4e8ce4f commit 75cf0fa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/eckit/io/EasyCURL.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,11 +483,13 @@ class CURLHandle : public eckit::Counted {
483483
}
484484
}
485485

486+
#if CURL_AT_LEAST_VERSION(7, 84, 0)
486487
if (const auto* info = curl_version_info(CURLVERSION_NOW); info != nullptr) {
487488
if (info->cainfo != nullptr && PathName(info->cainfo).exists()) {
488489
return {};
489490
}
490491
}
492+
#endif
491493

492494
for (const auto* dirname : dirs) {
493495
for (const auto* basename : bases) {

0 commit comments

Comments
 (0)