diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/hareflow/fix-asio-error.patch | |
Diffstat (limited to 'vcpkg/ports/hareflow/fix-asio-error.patch')
| -rw-r--r-- | vcpkg/ports/hareflow/fix-asio-error.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/hareflow/fix-asio-error.patch b/vcpkg/ports/hareflow/fix-asio-error.patch new file mode 100644 index 0000000..725fad8 --- /dev/null +++ b/vcpkg/ports/hareflow/fix-asio-error.patch @@ -0,0 +1,13 @@ +diff --git a/src/connection.cpp b/src/connection.cpp +index da2c556..a6cd8ca 100644 +--- a/src/connection.cpp ++++ b/src/connection.cpp +@@ -276,7 +276,7 @@ Connection::SslAdapter::SslAdapter(tcp_socket& wrapped_socket, const std::string + if (verify_host) { + m_context.set_default_verify_paths(); + m_context.set_verify_mode(ssl::verify_peer); +- m_context.set_verify_callback(ssl::rfc2818_verification(host)); ++ m_context.set_verify_callback(ssl::host_name_verification(host)); + } + m_stream = std::make_unique<ssl_stream>(wrapped_socket, m_context); + } |