Skip to content

cmake: detect SSL_set0_wbio in OpenSSL#11555

Closed
vszakats wants to merge 2 commits intocurl:masterfrom
vszakats:cmake-detect-ssl-set0-wbio
Closed

cmake: detect SSL_set0_wbio in OpenSSL#11555
vszakats wants to merge 2 commits intocurl:masterfrom
vszakats:cmake-detect-ssl-set0-wbio

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Jul 31, 2023

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

Follow-up to f39472e

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

@vszakats vszakats added the cmake label Jul 31, 2023
@vszakats vszakats changed the title cmake: detect SSL_set0_wbio cmake: detect SSL_set0_wbio Jul 31, 2023
@github-actions github-actions bot added the build label Jul 31, 2023
@vszakats

This comment was marked as outdated.

@vszakats vszakats closed this Jul 31, 2023
@vszakats vszakats deleted the cmake-detect-ssl-set0-wbio branch July 31, 2023 11:26
@vszakats vszakats restored the cmake-detect-ssl-set0-wbio branch July 31, 2023 12:56
@vszakats vszakats reopened this Jul 31, 2023
Present in OpenSSL 1.1.0 and BoringSSL.
Missing from LibreSSL 3.8.0.

Follow-up to f39472e

While I'm here also fix `RAND_egd()` detection which was broken,
likely all along.

Closes curl#11555
@vszakats vszakats force-pushed the cmake-detect-ssl-set0-wbio branch from 96ffe0e to 47a3b11 Compare July 31, 2023 16:26
@vszakats vszakats changed the title cmake: detect SSL_set0_wbio cmake: detect SSL_set0_wbio in OpenSSL Aug 1, 2023
@vszakats vszakats closed this in dee310d Aug 1, 2023
@vszakats vszakats deleted the cmake-detect-ssl-set0-wbio branch August 1, 2023 08:16
vszakats added a commit to curl/curl-for-win that referenced this pull request Aug 1, 2023
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
Present in OpenSSL 1.1.0 and BoringSSL.
Missing from LibreSSL 3.8.0.

Follow-up to f39472e

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 curl#11555
vszakats added a commit to vszakats/curl that referenced this pull request Oct 19, 2023
An orphan call to `CheckQuicSupportInOpenSSL()` remained after
a recent update when checking QUIC for quiche. Restore this function
and fixup the callers to use it.

Regression from dee310d #curl#11555

Reported-by: Casey Bodley <cbodley@redhat.com>
Fixes curl#12160
Closes curl#12162
vszakats added a commit that referenced this pull request Oct 22, 2023
An orphan call to `CheckQuicSupportInOpenSSL()` remained after a recent
update when checking QUIC for quiche. Move back QUIC detection to
a function and fixup callers to use that. Also make sure that quiche
gets QUIC from BoringSSL, because it doesn't support other forks at this
time.

Regression from dee310d #11555

Reported-by: Casey Bodley <cbodley@redhat.com>
Fixes #12160
Closes #12162
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant