No description
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>
|
||
|---|---|---|
| .github | ||
| cmake | ||
| deploy | ||
| docs | ||
| LICENSES | ||
| src | ||
| translations | ||
| .clang-format | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| CMakeLists.txt | ||
| cspell.json | ||
| LICENSE | ||
| REUSE.toml | ||
| sonar-project.properties | ||
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.
Getting help online
- View the wiki Online resource
Chat with us
- Main discussion on Matrix:
#deskflow:matrix.org(Matrix clients) - Discussion also happens on IRC:
#deskflowor#deskflow-devon Libera Chat - Start a new discussion on our GitHub project.
Reporting security issues
Check Security to find out how to report security issues.