Günter Obiltschnig
7917abf727
#2418 : SecureServerSocket doesn't work with IpV6
2021-06-15 10:23:22 +02:00
Günter Obiltschnig
59ae91e5ba
#3089 : HTTPSessionFactory does not support HTTPClientSession::ProxyConfig
2021-06-15 09:45:01 +02:00
Günter Obiltschnig
ab010473b9
#3299 : NetSSL: Allow per-Context InvalidCertificateHandler
2021-06-06 18:11:05 +02:00
Günter Obiltschnig
f472d3ae52
use TLS_CLIENT_USE instead of CLIENT_USE
2020-02-16 19:58:55 +01:00
Günter Obiltschnig
3b14ae5ec8
new x509 cert for sample
2020-02-16 18:29:03 +01:00
Günter Obiltschnig
4de9a21187
make CMake files style (more) consistent
2020-02-14 11:07:32 +01:00
Günter Obiltschnig
75a86ad868
remove POCO_STATIC
2020-02-12 22:10:01 +01:00
Günter Obiltschnig
13d3a03529
remove curves unsupported by some OpenSSL builds
2020-02-04 15:31:48 +01:00
Günter Obiltschnig
fc8a95c44e
make Context compile with OpenSSL >= 1.1
2020-02-04 13:41:23 +01:00
Günter Obiltschnig
81624a269f
#2898 : poco 1.10/ NetSSL / openssl < 1.1 : default server usage changed (compare to 1.9.4)
2020-02-04 10:23:55 +01:00
Günter Obiltschnig
d33a39a987
#2816 : Modernise TLS configuration
2020-02-04 09:33:31 +01:00
Günter Obiltschnig
d7f3ba9f95
fixed CppUnit includes
2020-01-26 15:18:12 +01:00
Günter Obiltschnig
b6f176f384
fixed CppUnit includes
2020-01-26 13:54:32 +01:00
Günter Obiltschnig
839009d9b5
fix header comments
2020-01-23 18:57:05 +01:00
Günter Obiltschnig
bcbef6833c
fix DLL export
2020-01-23 18:14:24 +01:00
Günter Obiltschnig
3bff3a2dd0
re-generated project files
2020-01-23 18:07:55 +01:00
Günter Obiltschnig
d65bf03a83
fixes and improvements to FTP(S)ClientSession
2020-01-23 17:55:30 +01:00
Günter Obiltschnig
878b8bbeca
fixes for FTPSClientSession
2020-01-23 13:29:54 +01:00
Günter Obiltschnig
5d481ff493
merge FTPSClientSession from develop-experimental
2020-01-23 11:57:28 +01:00
Günter Obiltschnig
18adb1e43b
code cleanup; fix move ctors and assignment
2020-01-21 17:52:43 +01:00
Joerg-Christian Boehme
885c5cbc55
Ignore tests in cmake from cppignore and set POCO_BASE environment.
2020-01-14 21:45:56 +01:00
Günter Obiltschnig
4920df18ce
re-generated project files
2020-01-12 23:04:09 +01:00
Günter Obiltschnig
fce1f89aff
fix CppUnit includes
2020-01-11 22:51:54 +01:00
Günter Obiltschnig
165f5cfd20
re-generated project files
2020-01-11 22:33:28 +01:00
Günter Obiltschnig
4c1e357e4a
project file fixes
2020-01-11 12:45:39 +01:00
Günter Obiltschnig
fea390fe6a
remove gradle files
2020-01-11 10:04:22 +01:00
Günter Obiltschnig
e84ab92ee0
removed x64 project files
2020-01-11 09:52:49 +01:00
Günter Obiltschnig
fe3f6405b6
updated progen files
2020-01-11 09:34:54 +01:00
Günter Obiltschnig
59898cd3c2
remove old VS project files
2020-01-10 14:26:36 +01:00
Günter Obiltschnig
e1f09a602b
cleanup and modernization
2020-01-10 12:20:30 +01:00
Günter Obiltschnig
821d80b76e
cleanup
2020-01-10 11:34:35 +01:00
Günter Obiltschnig
a2f8f8fbe1
NetSSL_OpenSSL: better way to specify TLS version for Context
2020-01-09 21:25:30 +01:00
Günter Obiltschnig
9c197e0ed1
finally get rid of std::auto_ptr
2019-12-15 09:40:40 +01:00
Francis ANDRE
e59f37318e
Add /MP option and remove /Gm as it is ignored and will be removed
2019-12-07 19:11:24 +01:00
Brice Gros
990f7825b5
Fix path to DLLVersion.rc and enable to skip Foundation; Fix Foundation samples referencing useless libs
2019-10-18 15:35:02 +02:00
Joerg-Christian Boehme
b9fa82b08b
CMake merge from devel to 1.10 to use embedded OpenSSL for Windows ( #2767 )
...
* Add embedded openssl for windows
* Add windows fix for OpenSSL #2708
* Fix CppUnit lib prefix with Poco
2019-09-02 11:48:01 +02:00
Dooeui
e251479dde
Fix build errors in QNX SDP7
...
Because QNX SDP7 doesn't have separate "dl" library but it's include din "C" library. Therefore, -ldl option should not be used to build programs for QNX SDP7.
2019-08-11 16:58:47 +09:00
Günter Obiltschnig
9a8ab0858f
include version resource in DLLs built with CMake
2019-06-24 15:39:06 +02:00
Günter Obiltschnig
27335031e1
fixed GH #2380 : Calling Poco::Net::X509Certificate::addChainCertificate() leads to double free.
2019-06-22 18:11:05 +02:00
Günter Obiltschnig
ec8ea48062
SecureSMTPClientSession now uses _host from SMTPClientSession
2019-05-16 14:35:19 +02:00
Günter Obiltschnig
6000982c8b
added preliminary TLSv1.3 support with OpenSSL version 1.1.1
2018-08-24 10:47:05 +02:00
proller
bada9ed2b9
Backport #2257 to Poco 1.9.1
2018-08-18 11:09:43 +02:00
Francis ANDRE
5dbb9cc3de
Regenerating VisualStudio projects
2018-06-20 09:47:40 +02:00
Francis ANDRE
b7330492e5
Add <TargetMachine>MachineX64</TargetMachine> on <Lib> element
2018-06-15 14:28:43 +02:00
Francis ANDRE
19eecbaafb
Remove WinTestRunner
2018-06-10 19:46:19 +02:00
Ed
27d4c8c373
Don't include <openssl/fips.h> for later OpenSSL ( #2358 )
2018-06-04 11:49:03 -05:00
Joerg-Christian Boehme
5fb10f6746
Set EVP private key on SSL context ( #2259 )
2018-06-03 11:27:32 -05:00
Joerg-Christian Boehme
612f092235
Cleanup cmake build system to use transitive dependency management from cmake ( #2321 )
...
* Some cleanup in the root CMakeLists.txt
* Cleanup cmake targets
* Add find openssl modul for older cmake version
* Set proper scope
* Change crypto default to off
* Fix openssl default to on
* Remove global setting of C99 standard
* Set from C11 to C99
* Fix for NetSSL win build
* Set C99 compile features
* Fix Windows build
* Fix windows build
* Cleanup poco unbundle definition
* Fix PDF build
* Remove unused set affinity
* Add _CRT_SECURE_NO_WARNINGS as target compile definitions
* Add _AFXDLL as target compile definitions
* Remove commented out line
* Refactor add_definitions to target_compile_definitons in Util
* Refactor add_definitions to target_compile_definitons in XML
* Remove THREADSAFE in data sql cmake build
* Refactor add_definitions to target_compile_definition in cmake mysql
* Refactor add_definitions to target_compile_definition in cmake odbc
* Refactor add_definitions to target_compile_definition in cmake sqlite
* Refactor add_definitions to target_compile_definitions in platform specific cmake
* Add _DEBUG as compile definition
* Add build dependencies between Foundation-testrunner and TestApp, TestLibrary in cmake build
* Use cmake property to build shared libs
* Cleanup POCO_NO_AUTOMATIC_LIBS. Set only for Windows in cmake build system
* cleanup LIB_MODE_DEFINITIONS in cmake buld system
* Add POCO_STATIC for CppUnit
* Cleanup target link libraries and add option dependencies.
* Add dependencies management in cmake
* Update cmake documentation
* Squashed commit of the following:
commit 38c233f93fc8e9ad6e24d686c905eb18c86e19a7
Fix "invalid new-expression of abstract class type ApacheServerRequest" (#2231 )
- abstract method "bool secure() const" defined in HTTPServerRequest was implemented in ApacheServerRequest, one of its derived classes
- a ap_log_error had one of its parameters changed for fixing a warning "passing NULL to non-pointer argument"
- minor indentation problems corrected
commit 4cbdfbe828943871618172f9e042176f115d61d8
Fix build dependencies
* Improve database cmake build dependencies
* Update doc
* Update doc
* Update cmake build commands
* Set public on target link libraries in cmake build system
* Fix PostgreSQL build
* Fix PostgreSQL build in cmake
* Fix PostgreSQL from SQL to Data
* Squashed commit of the following:
commit 1ba7d5dcbfb8d07860dd4efda33b31bedf6184c4
Add missing cmake file
* Set path to PostgresSQL in AppVoyer
* Try to fix AppVeyor build
* show dir in appvoyer
* Disable PostgreSQL build on Appvoyer
* Refactor add_definitions to target_compile_definitions
2018-06-03 11:17:50 -05:00
Francis ANDRE
4c22b871ae
Use CppUnit as a Poco module: regenerate all VS projects
2018-05-28 23:29:12 +02:00
Francis ANDRE
db5d570f33
Add Poco as prefix of CppUnit import libs
2018-05-28 19:58:05 +02:00
Francis ANDRE
b668da5ed6
Fix CppUnit vs PocoCppUnit
2018-05-25 17:41:48 +02:00
Alex Fabijanic
3cf27870cb
regenerate NetSSL VS projects
2018-05-25 17:06:43 +02:00
Francis ANDRE
be79688077
Use PocoCppUnit instead of CppUnit
2018-05-25 14:05:00 +02:00
Francis ANDRE
d1e1a9bff1
Add WebSocket testsuite
2018-05-25 08:50:27 +02:00
Francis ANDRE
d52208743b
Fix template argument
2018-05-09 09:32:54 +02:00
Francis ANDRE
7b918a3d94
Fix auto_ptr<char[]> by auto_ptr<char*>
2018-05-09 08:19:53 +02:00
Francis ANDRE
a9d3a17557
use std::auto_ptr guarded with POCO_ENABLE_CPP11
2018-05-09 07:31:35 +02:00
Alex Fabijanic
7a8abc0d7e
add WebSocketTestSuite
2018-05-08 16:47:30 -05:00
Alex Fabijanic
c29d4b9f9b
add missing headers
2018-05-08 16:30:33 -05:00
roccocorsi
5adeb282cd
WebSocketTest.cpp faults reported by valgrind #2323 ( #2324 )
2018-05-08 14:25:23 -05:00
zosrothko
960ecb38f0
Poco 1.9.1 assert true ( #2255 )
...
* Rename assert by assertTrue
* Update submodules
* Missing assertTrue
* Rename poco_assertTrue to poco_assert
* Rename poco_assertTrue to poco_assert
2018-03-29 11:12:54 -06:00
Jörg-Christian Böhme
a1a8e9d585
Cleanup cmake android test
2018-03-08 20:32:24 +01:00
Günter Obiltschnig
4f562c0e6b
fix Windows openssl library pragmas
2018-03-07 09:17:32 +01:00
Günter Obiltschnig
8dc4223acb
X509Certificate::verify(): use OpenSSL X509_check_host() and X509_check_ip_asc() if available
2018-03-05 22:17:31 +01:00
Günter Obiltschnig
451f05121e
#2197 : fix style
2018-03-05 22:15:39 +01:00
Günter Obiltschnig
38c9328db6
fix style
2018-03-05 19:54:01 +01:00
Joerg-Christian Boehme
4c05d4baf7
Improve ssl context, include a function to add CA certificates.
2018-03-05 13:37:45 +01:00
Joerg-Christian Boehme
9feabc7723
Add android build on travis ( #1981 )
...
* Add build for android in travis CI.
* Fix review findings. Change from __ANDORID__ to POCO_ANDROID
* Add android test
* Fix compile issue after rebase
* Ignore test big ping when its failing
2018-02-26 18:54:40 -06:00
Alex Fabijanic
8f2ecfccef
openssl VS projects modifications
2018-01-29 09:22:45 -06:00
Günter Obiltschnig
320fa9c445
don't set _peerHostName from peerAddress
2017-12-21 14:32:08 +01:00
Guenter Obiltschnig
b80fb988a1
fix tests on macOS
2017-11-09 14:37:34 +01:00
zosrothko
f2e58c17e8
Add Gradle build scripts.
2017-10-31 09:07:53 +01:00
Alex Fabijanic
1a18621ff8
ifdef auto_ptr
2017-10-24 21:55:33 -05:00
Aleksandar Fabijanic
76c5bf8dc7
fix link ifdef
2017-10-23 15:24:13 -05:00
Alex Fabijanic
741fead666
add openssl autolink to NetSSL
2017-09-23 16:19:14 -05:00
Alex Fabijanic
0e81e082ff
openssl 1.1 support
2017-09-22 16:29:33 -05:00
Alex Fabijanic
6b57edd031
regenerate NetSSL VS projects and Crypto sample project
2017-09-20 14:09:42 -05:00
Günter Obiltschnig
04e7e04d4d
Remove \$Id`$ headers
2017-09-09 11:14:06 +02:00
Guenter Obiltschnig
f10d3a28f3
added Visual Studio 2017 project files
2017-02-20 16:20:16 +01:00
Günter Obiltschnig
75a7ee4b0f
Crypto and NetSSL fixes for OpenSSL 1.1
2016-11-27 23:58:39 +01:00
Guenter Obiltschnig
3bd6689751
fixed GH #1472 : HTTP(S)StreamFactory should send a User-Agent header
2016-10-26 12:58:52 +02:00
Guenter Obiltschnig
9bc12df4a2
style fix
2016-09-26 17:00:42 +02:00
Guenter Obiltschnig
7c37f18f84
fixed some warnings and minor issues detected by clang-analyzer
2016-09-13 11:37:12 +02:00
Guenter Obiltschnig
0b30bacb41
fixed GH #1303 : HTTPSClientSession::sendRequest() fails if server has wildcard cert
2016-07-03 12:48:15 +02:00
Guenter Obiltschnig
a40dd20462
fixed VS project files
2016-05-08 15:30:25 +02:00
Guenter Obiltschnig
d0e268fcbb
use TLS_*_method() instead of deprecated SSLv23_*_method() if OpenSSL version is >= 1.1; initialize default/fallback client context to support all TLS protocols, not just TLSv1
2016-03-12 12:18:18 +01:00
Guenter Obiltschnig
ee9477afd3
fixed GH# 1184: Attempting to connect via a proxy throws a DNS error "Host not found"
2016-03-10 09:54:08 +01:00
Guenter Obiltschnig
f7ba58c80f
fix for GH #1160 : Poco::Net::NetException "SSL Exception: error:1409F07F:SSL routines:ssl3_write_pending:bad write retry
2016-02-26 20:15:58 +01:00
Guenter Obiltschnig
dee1efd56a
added Context::preferServerCiphers()
2016-01-19 16:01:17 +01:00
Guenter Obiltschnig
82c6c5f149
added support for ECDH, new Context ctor
2016-01-19 15:19:14 +01:00
Guenter Obiltschnig
e9b2b3bcdd
NetSSL: add support for disabling certain protocols
2016-01-19 11:36:02 +01:00
Guenter Obiltschnig
b124d5b392
merged doc fixes from develop branch
2015-10-10 17:32:31 +02:00
Guenter Obiltschnig
ef3946786a
improved SSLManager to automatically set-up a reasonable client Context if none is configured
2015-10-06 09:41:31 +02:00
Guenter Obiltschnig
e25a17030d
integrated CMake improvements from develop (GH #946 )
2015-09-26 11:11:23 +02:00
Guenter Obiltschnig
89816c0ea2
HTTPSessionInstantiator: respect global proxy config
2015-09-17 11:56:28 +02:00
Günter Obiltschnig
4f0b692d66
added project and solution files for VS2015
2015-08-01 10:29:32 +02:00
Alex Fabijanic
2feb15eb19
Unable to build static with NetSSL_OpenSSL for OS X #763
2015-03-29 10:20:12 -05:00
Sascha Zelzer
10425a9556
Do not overwrite CMAKE_PREFIX_PATH in component config files.
...
This fixes problems when a project adds a directory to
CMAKE_PREFIX_PATH, then calls find_package(Poco ...) and afterwards
calls find_package() for another project located in one of the
directories of the original CMAKE_PREFIX_PATH variable.
2015-02-04 04:35:23 +01:00
Pascal Bach
f778e67430
CMake: Improve installation and package generation
...
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2015-01-27 15:52:18 +01:00
Pascal Bach
10ef2b2335
CMake: Remove WinDriver usage in tests
...
Add WinCEDriver to packages supporting it
2014-12-21 16:23:35 +01:00