No description
Find a file
Kentaro Hayashi fdb100649b fix: invalid type conversion for OpenSSL 4.0.0
Since OpenSSL 4.0.0, X509_get_subject_name returns const X509_NAME
pointer, thus X509_NAME_add_entry_by_txt does not accept it anymore.

See /usr/include/openssl/x509.h.

Instead, explicitly operates it via mutable X509_NAME object.

It is safe operation without using X509_get_subject_name() because
subject name was not modified after cert = X509_new() assignment.

It will fix the following error.

  error: invalid conversion from 'const X509_name_st*' to 'X509_NAME*' {aka 'X509_name
  _st*'} [-fpermissive]
     87 |   X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC, reinterpret_cast<const unsigned char *>("Deskflow"), -1, -1, 0);
        |                              ^~~~
        |                              |
        |                              const X509_name_st*

Signed-off-by: Kentaro Hayashi <kenhys@xdump.org>
2026-06-05 10:59:58 +01:00
.github ci: use Qt 6.11.1 for windows and mac os arm builds 2026-05-29 23:22:15 +01:00
cmake build(macos): remove unneeded setting for sysroot 2026-04-27 10:38:52 -04:00
deploy Revert "chore: move LICENSE -> docs/LICENSE" 2026-02-23 17:26:19 -05:00
docs feat: handle input capture session persistence 2026-05-05 11:58:02 +01:00
LICENSES build: do not ship vc msm file, link the redist in the readme 2025-03-06 19:17:53 +00:00
src fix: invalid type conversion for OpenSSL 4.0.0 2026-06-05 10:59:58 +01:00
translations feat: add AltGr modifier override to Screen Settings Dialog 2026-05-19 10:50:47 +01:00
.clang-format chore: Adjust Clang-format linter rules 2024-10-17 21:38:29 +01:00
.editorconfig docs: Add .editorconfig file 2024-10-15 23:08:28 +01:00
.gitattributes Force LF in gitattributes 2024-10-15 18:02:20 +01:00
.gitignore chore: add CLAUDE.md to the gitignore 2026-02-03 18:43:41 +00:00
CMakeLists.txt build: Replace WINAPI_MSWINDOWS with Q_OS_WIN 2026-03-06 08:57:31 -05:00
cspell.json docs(build): Fix minor nits in build docs 2025-11-20 08:15:34 -05:00
LICENSE Revert "chore: move LICENSE -> docs/LICENSE" 2026-02-23 17:26:19 -05:00
REUSE.toml chore: move doc dir to docs 2026-02-23 17:02:05 -05:00
sonar-project.properties feat: support translation generation 2025-10-27 17:54:32 -04:00

Deskflow

Deskflow is a free and open source keyboard and mouse sharing app. Use the keyboard, mouse, or trackpad of one computer to control nearby computers, and work seamlessly between them.

Homepage Code

Getting help online

  • View the wiki Online resource

Chat with us

Reporting security issues

Check Security to find out how to report security issues.