Skip to content

Fix ssl_poll_perf perftool failure in CI #1882

@andrewkdinh

Description

@andrewkdinh

For example, https://github.com/openssl/perftools/actions/runs/22473745740/job/65096240434?pr=81

/__w/perftools/perftools/perftools/source/ssl_poll_perf.c:2984:5: error: 'SSL_set1_host' is deprecated: Since OpenSSL 4.0 [-Werror=deprecated-declarations]
 2984 |     if (SSL_set1_host(qconn, hostname) == 0) {
      |     ^~
In file included from /__w/perftools/perftools/perftools/source/ssl_poll_perf.c:47:
/__w/perftools/perftools/openssl/include/openssl/ssl.h:1923:34: note: declared here
 1923 | OSSL_DEPRECATEDIN_4_0 __owur int SSL_set1_host(SSL *s, const char *host);
      |                                  ^~~~~~~~~~~~~
cc1: all warnings being treated as errors

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions