Skip to content

openssl: fix build with 4.0.0-beta1 no-deprecated#21119

Closed
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:ossl4fixup
Closed

openssl: fix build with 4.0.0-beta1 no-deprecated#21119
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:ossl4fixup

Conversation

@vszakats
Copy link
Copy Markdown
Member

lib/vtls/openssl.c:4238:22: error: ‘SSL_R_SSLV3_ALERT_CERTIFICATE_EXPIRED’ undeclared (first use in this function); did you mean ‘SSL_R_TLS_ALERT_CERTIFICATE_EXPIRED’?
 4238 |           (reason == SSL_R_SSLV3_ALERT_CERTIFICATE_EXPIRED))) {
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      SSL_R_TLS_ALERT_CERTIFICATE_EXPIRED
lib/vtls/openssl.c:4238:22: note: each undeclared identifier is reported only once for each function it appears in

Ref: https://github.com/curl/curl/actions/runs/23641366299/job/68863072427#step:24:189

Cherry-picked from #21118

```
lib/vtls/openssl.c:4238:22: error: ‘SSL_R_SSLV3_ALERT_CERTIFICATE_EXPIRED’ undeclared (first use in this function); did you mean ‘SSL_R_TLS_ALERT_CERTIFICATE_EXPIRED’?
 4238 |           (reason == SSL_R_SSLV3_ALERT_CERTIFICATE_EXPIRED))) {
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      SSL_R_TLS_ALERT_CERTIFICATE_EXPIRED
lib/vtls/openssl.c:4238:22: note: each undeclared identifier is reported only once for each function it appears in
```
Ref: https://github.com/curl/curl/actions/runs/23641366299/job/68863072427#step:24:189

Cherry-picked from curl#21118
@vszakats vszakats changed the title openssl: fix build with OpenSSL 4 beta1 no-deprecated openssl: fix build with 4.0.0 beta1 no-deprecated Mar 27, 2026
@github-actions github-actions bot added the TLS label Mar 27, 2026
@vszakats vszakats changed the title openssl: fix build with 4.0.0 beta1 no-deprecated openssl: fix build with 4.0.0-beta1 no-deprecated Mar 27, 2026
@vszakats vszakats added the build label Mar 27, 2026
@vszakats vszakats closed this in c025082 Mar 27, 2026
@vszakats vszakats deleted the ossl4fixup branch March 27, 2026 11:06
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