Commit Graph

4873 Commits

Author SHA1 Message Date
Alex Fabijanic
1d4d444e08 chore: cleanup 2022-04-02 05:15:08 -07:00
Alex Fabijanic
3fb001f397 fix(Socket): shutdown fixes from pull #3448 2022-03-31 19:03:27 +00:00
Robin Lee
3bab3548f4
Basic support for OpenSSL 3.0.0 (#3448)
* updated README.md

* Create close-inactive-issues.yml

* check return codes of EVP_CIPHER_CTX_new and EVP_CipherInit

Especially with OpenSSL 3, it is possible that EVP_CipherInit may fail even when
passed a non-null cipher[1]. Without the checking, it will finally get to a
segfault.

[1] https://github.com/openssl/openssl/issues/16864

* Automatically load default and legacy providers with OpenSSL 3

Without the legacy provider [1], some ciphers are not available. For example,
the 'des-ecb' one used by test sutie is missed and the test will fail.

[1] OSSL_PROVIDER-LEGACY(7ossl)

* Make p12 ca order the same as pem

OpenSSL < 3 returns p12 ca order in reversed order. This is fixed
in OpenSSL 3. We work around it with old OpenSSL.

See:
https://github.com/openssl/openssl/issues/16421
https://github.com/openssl/openssl/pull/12641
f5eb85eb0f

* Implement SSL abort handling on OpenSSL 3

On an unexpected EOF, versions before OpenSSL 3.0 returned SSL_ERROR_SYSCALL,
nothing was added to the error stack, and errno was 0. Since OpenSSL 3.0 the
returned error is SSL_ERROR_SSL with a meaningful error on the error stack.[1]

[1] SSL_GET_ERROR(3ossl)

Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com>
Co-authored-by: Robin Lee <cheeselee@fedoraproject.org>
Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
2022-03-29 13:23:44 -05:00
Günter Obiltschnig
5a0b18246b use tm_gmtoff on Linux 2022-03-28 13:50:31 +02:00
Günter Obiltschnig
c0ea70c2bf remove unused method in Timezone_WIN32.cpp 2022-03-28 13:18:50 +02:00
Günter Obiltschnig
2c15b93dee #2882: another attempt at fixing it that should also work on other platforms 2022-03-28 12:57:16 +02:00
Günter Obiltschnig
6aa29ade17 #3509: fix dst and utcOffset handling for Dublin time zone 2022-03-27 21:25:51 +02:00
Günter Obiltschnig
1b5de92f09 #3268: Poco redis command set have a bug when you want to set nx ex or expireTime 2022-03-27 20:11:56 +02:00
Günter Obiltschnig
2ec44c756b #3495: Array::operator[] should not throw 2022-03-27 20:02:50 +02:00
Günter Obiltschnig
292d137909 #3483: Adds Windows 11 and Server 2022 to Environment::osDisplayName() 2022-03-27 19:53:13 +02:00
Günter Obiltschnig
0ebfafb2b9 #3524: remove XML and Util dependencies in Zip/SevenZip 2022-03-27 19:46:20 +02:00
Günter Obiltschnig
852a53e702 #3466: DefinePlatformSpecific.cmake: handle RelWithDebInfo and MinSizeRel configurations 2022-03-27 19:37:14 +02:00
Günter Obiltschnig
49573106c7
Merge pull request #3544 from jolivain/fix_nios2_build
Add back NIOS2 double conversion detection to fix compile errors
2022-03-27 19:33:26 +02:00
Julien Olivain
13e2199827 Add back NIOS2 double conversion detection to fix compile errors
The commit
558324f672

removed the nios2 support, which was originally added in
e7b91e8125

This commit add it back.

Signed-off-by: Julien Olivain <ju.o@free.fr>
2022-03-25 20:08:22 +01:00
Günter Obiltschnig
a0403928b3 #3538: Upgrade bundled expat to 2.4.7 2022-03-09 08:32:03 +01:00
Günter Obiltschnig
5239c4f023 #3530: Upgrade bundled expat to 2.4.6 2022-02-20 18:53:57 +01:00
Günter Obiltschnig
2b3662c854 added VS2022 project files 2022-02-19 21:06:24 +01:00
Günter Obiltschnig
fbc0078bac Merge branch 'poco-1.11.2' of github.com:pocoproject/poco into poco-1.11.2 2022-02-19 18:42:41 +01:00
Günter Obiltschnig
8445f4e2de remove unused CppUnit headers 2022-02-19 18:42:27 +01:00
Günter Obiltschnig
3d95305a6c Merge branch 'poco-1.11.2' of github.com:pocoproject/poco into poco-1.11.2 2022-02-19 18:22:31 +01:00
Günter Obiltschnig
8108556db2 fix library name 2022-02-19 18:22:19 +01:00
Günter Obiltschnig
cabab4f957 ci: add windows 2022 2022-02-19 17:23:31 +01:00
Günter Obiltschnig
3c709ed64c ProGen: support generation of VS 2022 project files 2022-02-19 17:05:45 +01:00
Günter Obiltschnig
5787807b5a updated README.md 2022-02-19 17:02:19 +01:00
Günter Obiltschnig
6341ec6350 detect ARM64 on Windows 2022-02-19 15:23:03 +01:00
Günter Obiltschnig
6de72dfe9d CI: don't build PageCompiler in ARM cross build 2022-02-19 11:14:16 +01:00
Günter Obiltschnig
7099821df8 #3338: NamedMutex does not work on Linux distributions where fs.protected_regular=1 2022-02-19 11:12:48 +01:00
Günter Obiltschnig
df20425463 #3518: Expat version check in #defines incorrect 2022-02-19 10:40:46 +01:00
Günter Obiltschnig
010cf8b7d0 #3507: Reference counting for bound configuration in Util::Option is broken 2022-02-19 10:35:30 +01:00
Günter Obiltschnig
3b1484ca50 #3470: bug in JSON ParseHandler.cpp (RFC 7159 should be valid) 2022-02-19 09:52:24 +01:00
Günter Obiltschnig
02abb70601 #3527: Upgrade bundled expat to 2.4.5 2022-02-19 09:29:43 +01:00
Günter Obiltschnig
00d5e7171a #3505: JSON::PrintHandler.value(bool) prints incorrect value 2022-02-08 06:00:29 +01:00
Günter Obiltschnig
516eebad72 #3458: encryptString() crash on redhat/centos 8 with FIPS enabled using md5 default digest 2022-02-07 18:21:46 +01:00
Günter Obiltschnig
292b9a7d83 #3465: NetSSL_Win: bad error handling when decodeMessage() fails 2022-02-07 18:13:31 +01:00
Günter Obiltschnig
625b4116f2 #3448: fix version check 2022-02-07 18:07:57 +01:00
Günter Obiltschnig
b2d71905e3 #3515: NetSSL_OpenSSL Testsuite: testInterop() and testProxy() fail due to changed certificate 2022-02-07 17:58:31 +01:00
Günter Obiltschnig
dbfd27611b manually merge #3448, part 1 (NetSSL) 2022-02-07 17:56:05 +01:00
Günter Obiltschnig
11ffdc7807 manually merge #3448, part 1 (Crypto) 2022-02-07 17:00:45 +01:00
Günter Obiltschnig
82ef12b875 #3506: Upgrade bundled expat to 2.4.4 2022-02-07 15:26:31 +01:00
Günter Obiltschnig
fb4f3c0231 branch off poco-1.11.2 2022-02-07 14:49:51 +01:00
Günter Obiltschnig
2c8dde53de fix brew OpenSSL version 2021-11-05 19:36:10 +01:00
Günter Obiltschnig
93dc903f3c updated changelog 2021-11-05 19:33:03 +01:00
Günter Obiltschnig
6e38dd4db3 upgrade bundled SQLite to 3.36.0 2021-11-05 19:31:03 +01:00
Günter Obiltschnig
50e39b731a upgrade bundled PCRE to 8.45 2021-11-05 19:28:23 +01:00
Günter Obiltschnig
40223f664d add missing include search path 2021-11-05 19:13:39 +01:00
Günter Obiltschnig
41ec4ca8e7 use OpenSSL 1.1.1 on macOS 2021-11-05 19:13:15 +01:00
Günter Obiltschnig
666bac4454 #3330: Poco::Data::ODBC::ODBCStatementImpl causes crash 2021-11-05 16:54:12 +01:00
Günter Obiltschnig
b89baaa1c3 #2966: SocketReactor loads one core of CPU up to 100% 2021-11-05 15:18:04 +01:00
Günter Obiltschnig
58fd4fcd6a #3425: Fixed suspend/resumeEvents pair in DirectoryWatcher 2021-11-05 15:05:01 +01:00
Günter Obiltschnig
a032f771af #2823: error: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 2021-11-05 14:58:40 +01:00