deskflow/src/lib
Kentaro Hayashi faf83d7824 fix: drop misleading SSL_set1_host for OpenSSL 4.0.0
It will fix the following warning:

  In member function 'int SecureSocket::secureConnect(int)':
  /build/deskflow.work/src/lib/net/SecureSocket.cpp:479:16: warning: 'int SSL_set1_host(SSL*, const char*)' is deprecated: Since OpenSSL 4.0 [
  -Wdeprecated-declarations]
    479 |   SSL_set1_host(m_ssl->m_ssl, name.c_str());
        |   ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  In file included from /build/deskflow.work/src/lib/net/SslLogger.h:8,
                   from /build/deskflow.work/src/lib/net/SecureSocket.cpp:20:
  /usr/include/openssl/ssl.h:1922:34: note: declared here
   1922 | OSSL_DEPRECATEDIN_4_0 __owur int SSL_set1_host(SSL *s, const char *host);
        |                                  ^~~~~~~~~~~~~

NOTE: It seems that SSL_set1_host setup params for hostname verification, but
it will not be used correctly afterward (See
SSL_CTX_set_cert_verify_callback
in SecureSocket::initContext). This implicit behavior cause misleading
and harmful.

Signed-off-by: Kentaro Hayashi <kenhys@xdump.org>
2026-06-05 10:59:58 +01:00
..
arch refactor(log): Convert LogLevel into a class using LogLevel::Level as its enum, store values as the Option string display as localized string' 2026-05-15 11:47:10 +01:00
base fix: change QString to QByteArray for exception message handling 2026-05-26 12:25:56 -04:00
client fix: prevent client network fallback on strict IP bind failure 2026-05-19 09:43:30 +01:00
common refactor(log): Convert LogLevel into a class using LogLevel::Level as its enum, store values as the Option string display as localized string' 2026-05-15 11:47:10 +01:00
deskflow feat: add search evdev.xml path for NetBSD/OpenBSD 2026-05-15 07:44:27 -04:00
gui refactor(FingerprintDialog): Adjust header to span the dialog 2026-06-05 10:32:06 +01:00
io refactor: use QStrings for exceptions whats 2026-05-05 13:11:00 +01:00
mt refactor(log): Squash all Debug1 And Debug2 logs into Verbose 2026-05-15 11:47:10 +01:00
net fix: drop misleading SSL_set1_host for OpenSSL 4.0.0 2026-06-05 10:59:58 +01:00
platform fix(wayland): map portal activations by barrier id 2026-06-02 13:17:01 +01:00
server refactor(log): Squash all Debug1 And Debug2 logs into Verbose 2026-05-15 11:47:10 +01:00
CMakeLists.txt refactor: add (C) to copyright header where missing 2026-01-18 15:38:59 +00:00