Commit Graph

14 Commits

Author SHA1 Message Date
Matej Kenda
8a4a2955d5 Use nullptr in C++ code (solves #4348) (#5043)
* chore(CppParser): 0, NULL --> nullptr

* chore(Crypto): 0, NULL --> nullptr

* chore(DNSSD): 0, NULL --> nullptr

* chore(Encodings): 0, NULL --> nullptr

* chore(CppUnit): Correct indentation.

* chore(Foundation): 0, NULL --> nullptr

* chore(CMake): Always warn about wrong nullptr usage when compiling with GCC or CLang

* chore(Net): 0, NULL --> nullptr

* chore(Foundation): 0, NULL --> nullptr

* chore(Data): 0, NULL --> nullptr

* chore(macOS): 0, NULL --> nullptr

* chore(XML): 0, NULL --> nullptr

* chore(Zip): 0, NULL --> nullptr

* chore(Util): 0, NULL --> nullptr

* chore(Net/NetSSL): 0, NULL --> nullptr

* chore(Bonjour): 0, NULL --> nullptr

* chore(MongoDB, Redis): 0, NULL --> nullptr

* chore(Poco): 0, NULL --> nullptr

* chore(Win32): 0, NULL --> nullptr

* chore(CMake): Only warn about nullptr when verbose warnings are enabled.

* Potential fix for code scanning alert no. 1634: Guarded Free

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* chore(Net): Fix warning reported by gitlab.

* chore(gitlab CI): attempt to clean to gain disk space on the runner.

* chore(gitlab CI): Run build with  --parallel 4, correct docker cleanup.

---------

Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-10-30 15:20:53 +01:00
Matej Kenda
e2920f36da Find certificate from Windows store using its thumbprint (replaces PR #2125) (#5023)
* Find certificate from Windows store using its thumbprint

* Address review comments

---------

Co-authored-by: Hussein Ismail <hussein.ismail@m-files.com>
2025-09-12 11:30:28 +02:00
Matej Kenda
15d987fbb0 enh(cmake): Add option POCO_ENABLE_CPP20 to enable C++20 when compiling Poco (#4956)
* enh(cmake): Add option POCO_CXX20 to enable standard C++20 and related changes.

* chore(cmake): do not allow C++20 setting for compilers that do not support it properly.

* fix(NetSSL_Win): indentation.
2025-05-28 15:35:28 +02:00
Günter Obiltschnig
bfa7ca5c82 #2834: Wrong cancelation of the fix: incorrect type of store name parameter in CertOpenStore API call into NetSSL_Win. Release 1.10.0 2020-02-04 09:53:47 +01:00
Günter Obiltschnig
e3d1d03c54 add support for TLS 1.3 2020-01-10 11:41:49 +01:00
Francis ANDRE
5d455b6ed5 Fix typos 2019-09-02 15:59:11 +02:00
Günter Obiltschnig
ef516fa767 fixed GH #2775: Fix issue in NetSSL_Win. Windows Server 2016 reboots while trying to establish an SSL connection 2019-08-23 21:00:56 +02:00
Günter Obiltschnig
0784665ce8 backported #2773: Fix the issue with incorrect type of store name parameter in CertOpenStore API call into NetSSL_Win 2019-08-22 13:05:54 +02:00
Günter Obiltschnig
98d9c62efa fixed GH #2603:Remove incorrect upper size limits for SSL certificates in NetSSL_Win 2019-08-16 22:02:56 +02:00
Günter Obiltschnig
f1f8eb883e fixed GH #2747: NetSSL_Win: Context constructor usage argument should specify minimum supported SSL/TLS version 2019-07-10 08:08:29 +02:00
Guenter Obiltschnig
d172273a75 remove remaining $Id$ tags from file headers 2017-10-31 16:01:51 +01:00
Günter Obiltschnig
80952e11d1 optimizations, certificate verification, code cleanup 2014-10-09 20:54:07 +02:00
Günter Obiltschnig
8bf66bb3f9 Added support for loading certificates and private key pairs from PKCS #12 files, as well as loading certificates (without private key) from PEM or DER files. Some code restructuring and cleanup. 2014-10-07 23:16:58 +02:00
Günter Obiltschnig
b7f050db70 added NetSSL_Win library, a port of NetSSL_OpenSSL to Windows Schannel. See doc/README.txt for more info. 2014-09-05 00:17:09 +02:00