]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: detect `SSL_set0_wbio` in OpenSSL
authorViktor Szakats <commit@vsz.me>
Mon, 31 Jul 2023 10:52:56 +0000 (10:52 +0000)
committerViktor Szakats <commit@vsz.me>
Tue, 1 Aug 2023 08:12:18 +0000 (08:12 +0000)
commitdee310d54261f9a8416e87d50bccfe2cbe404949
tree9746689bf737c731026f3eb171c90e9da448f8b4
parent4a67b23f3389222dc54989213bb3fc273dbe2c68
cmake: detect `SSL_set0_wbio` in OpenSSL

Present in OpenSSL 1.1.0 and BoringSSL.
Missing from LibreSSL 3.8.0.

Follow-up to f39472ea9f4f4e12cfbc0500c4580a8d52ce4a59

While here, also fix `RAND_egd()` detection which was broken, likely all
along. This feature is probably broken with CMake builds and also
requires a sufficiently obsolete OpenSSL version, so this part of the
update was not tested.

Closes #11555
CMakeLists.txt
lib/curl_config.h.cmake