Commit Graph

292 Commits

Author SHA1 Message Date
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
Guenter Obiltschnig
931a5a5252 Removing support for Visual Studio.NET 2003 and Visual Studio 2005 - it's time to say goodbye to the past 2014-12-15 11:05:13 +01:00
Guenter Obiltschnig
3b31772717 fixed comments 2014-11-21 09:05:25 +01:00
Günter Obiltschnig
bc0978d01e fixed GH #471: vs2010 release builds have optimization disabled
fixed GH #616: Visual Studio warning C4244
2014-11-20 21:22:52 +01:00
Guenter Obiltschnig
781acfa0bd added nonProxyHosts to ProxyConfig to allow bypassing proxy for certain hosts 2014-11-11 22:54:44 +01:00
Guenter Obiltschnig
b0946115cf updated CMakeLists 2014-11-10 23:54:31 +01:00
Günter Obiltschnig
af1f5757c3 updated VS project files, added OAuthTestSuite 2014-11-10 23:49:35 +01:00
Guenter Obiltschnig
6fe78dee3f updated Makefile 2014-11-10 22:55:06 +01:00
Guenter Obiltschnig
9d7a814292 moved TwitterClient to NetSSL samples, use OAuth10Credentials class 2014-11-10 22:54:05 +01:00
Guenter Obiltschnig
420c3b55a7 added support for global HTTP proxy configuration 2014-11-09 17:22:10 +01:00
Günter Obiltschnig
5f380f0b80 Merge pull request #574 from siemens/cmake
Cmake updates
2014-11-06 11:17:45 +01:00
Guenter Obiltschnig
558091d53f fixed a memory leak if the CA file was not found while creating the Context (the OpenSSL context would leak) 2014-10-18 17:22:07 +02:00
Pascal Bach
b69fafb84c CMake: Create PocoConfig.cmake to make importable from other CMake projects
The generated PocoConfig.cmake can be used by other CMake projects using find_package.
2014-10-14 17:58:46 +02:00
Guenter Obiltschnig
d74afb9492 doc fix 2014-10-10 08:12:56 +02:00
Günter Obiltschnig
6fe2e4fb11 VS project files: do not share intermediate directory between projects in same folder 2014-10-06 13:51:49 +02:00
Guenter Obiltschnig
84adc737d4 - don't throw if SSL client unexpectedly closes connection as this seems to be the normal behavior of web browsers (seen with Chrome and IE) 2014-10-02 14:58:45 +02:00
Günter Obiltschnig
a2617235fe #538 more dtor fixes and some style fixes along the way 2014-09-29 12:09:01 +02:00
Guenter Obiltschnig
544229302e #538 prevent destructors from throwing exceptions 2014-09-19 09:46:49 +02:00
Guenter Obiltschnig
a56c21a250 style cleanup 2014-09-17 11:46:31 +02:00
Rangell Reale
21f2e115eb * Allows SecureStreamSocket::attach to be used in server connections
* Move order of condition for isLocalHost in peer certificate verification, to skip DNS lookup if not needed
2014-09-12 16:43:52 -03:00
Günter Obiltschnig
a4488f2f76 fixed server context initialization 2014-09-03 11:26:09 +02:00
Guenter Obiltschnig
1a81dbef15 enabled TLSv1.1 and 1.2 support in configuration 2014-09-02 18:54:12 +02:00
Guenter Obiltschnig
3f1e2c002a added support for TLSv1.1 and TLSv1.2 to Context 2014-09-02 17:30:02 +02:00
Guenter Obiltschnig
16ef87e6c8 added support for TLSv1.1 and TLSv1.2 to Context 2014-09-02 17:23:47 +02:00
Pascal Bach
7380fab68b NetSSL: Fix typo in documentation 2014-08-27 13:55:10 +02:00
Pascal Bach
7950001803 cmake: Cleanup CMakeLists.txt for all components
- Add missing CMakeLists.txt
- Use POCO_ macros to improve code structure in XCode/VisualStudio
- Better ODBC detection
- Remove unnecessary commented out code

The CMake documentation recommends explicitly listing source files, but because CMake is not the primary build system GLOB patterns are used for the moment.
2014-08-22 17:11:03 +02:00
Günter Obiltschnig
30bb18f394 added VS2013 project/solution files for Windows Embedded Compact 2013 2014-08-09 10:49:04 +02:00
Pascal Bach
b3482f73fa cmake: NetSSL cleanup
- explicitly list files

Reviewed-by: Roger Meier <r.meier@siemens.com>
2014-07-10 09:15:06 +02:00
Pascal Bach
975c30faf0 Add CTests for all components 2014-06-17 11:30:03 +02:00
Oldřich Jedlička
f4465ea1e3 Catch also NoAddressFoundException from DNS.
The certificate validation might fail on NoAddressFoundException - if the
hostname from certificate could not be translated to IP address.
2014-06-09 10:11:53 +02:00
Josh Blum
f442148670 poco: library install dirs per RUNTIME/LIBRARY/ARCHIVE
For a unix system, this commit implies no changes by default. However, the ${LIB_SUFFIX} convention was added so the build can be configured for a red-hat style installation which uses lib64 by specifying cmake -DLIB_SUFFIX=64

For a windows build (msvc), this commit will cause the .dll files to be installed in the bin/ path; import libraries .lib are still installed in the lib/ path. Installing dlls into the bin path is preferable because dlls must be in the executable %PATH% to be found at runtime, as there is not equivalent of a separate library path as there is on unix.
2014-05-21 14:16:34 -07:00
Roger Meier
b0581433a7 LICENSE: add info about SPDX-License-Identifier usage and use it
fix: remove executable flag and change back to 100644 (was 100755)

Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00
Guenter Obiltschnig
2341a1d236 SecureSMTPClientSession bugfix: save hostname for cert validation 2014-05-12 16:01:56 +02:00
Roger Meier
628a06f718 LICENSE: add info about SPDX-License-Identifier usage and use it
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2014-05-04 21:02:42 +02:00
Günter Obiltschnig
85873d02c9 re-generated VS2013 testsuite projects without MFC 2014-04-21 22:10:34 +02:00
Günter Obiltschnig
12c7bb562d re-generated vs100-vs120 project files 2014-04-21 10:50:51 +02:00
Guenter Obiltschnig
f764673c61 cert hostname validation is case insensitive and stricter for wildcard certificates 2014-04-09 17:05:54 +02:00
Guenter Obiltschnig
436737171d Poco::Net::X509Certificate::verify() no longer uses DNS reverse lookups to validate host names 2014-04-09 16:36:14 +02:00
Linquize
c2ca2ffb58 Build the libraries before their TestSuites
Fixes error LINK : fatal error LNK1104: cannot open file 'Poco*.lib'
2014-01-16 08:03:42 +08:00
Guenter Obiltschnig
3838d665a0 improved error handling, specifically socket timeouts 2013-12-13 12:36:24 +01:00
Guenter Obiltschnig
8f07db4aa3 various fixes - see CHANGELOG 2013-11-14 21:54:41 +01:00
Alex Fabijanic
1c732e9938 removed MFC dependencies (WinTestRunner) from test VS projects 2013-11-07 23:31:30 -06:00
Alex Fabijanic
4297d78621 VS 2013 projects/solutions 2013-11-05 23:11:28 -06:00
Guenter Obiltschnig
981b0a1ae4 fixed GH# 251: HTTPStreamFactory::unregisterFactory missing implementation? 2013-08-02 18:07:36 +02:00
Guenter Obiltschnig
476a7e4f31 fixed a potential endless loop in SecureStreamSocketImpl::sendBytes()
and also removed unnecessary code
2013-05-25 00:07:27 +02:00
aleks-f
3bdcef277f GH #61: static_md build configs for Crypto and NetSSL
fixed GH #61: static_md build configs for Crypto and NetSSL
2013-03-17 22:25:07 -05:00
Alex
ed24d96dda edited for coding standard compliance 2013-01-16 23:14:34 -06:00
Henrique Magarotto
f269e1ca23 ssl & unclean shutdown response 2013-01-15 17:58:10 -02:00
aleks-f
76a7e2e716 GH56: Need a way to disable *_API macros with GCC
GH #56: Need a way to disable *_API macros with GCC
2013-01-13 10:31:21 -06:00
alex
161ea4ec18 unbundled build fixes 2013-01-05 00:04:09 -06:00
aleks-f
ef9cda6666 GH #26: Cannot compile on gcc
GH #26: Cannot compile on gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 using
compiler flag pedantic
2012-12-12 23:02:20 -06:00
Mathäus Mendel
e3649153b8 Fixed build with CMake
Used CMAKE_DEBUG_POSTFIX instead LIB_EXT for library name decoration on debug builds (less intrusive and more flexible)
2012-12-08 15:54:38 -02:00
Guenter Obiltschnig
c867a80520 line ending fixes 2012-11-11 11:28:44 +01:00
Guenter Obiltschnig
514566ecd7 removed .vmsbuild files, which are no longer maintained 2012-11-11 11:08:17 +01:00
Guenter Obiltschnig
87d7739f3d removed .vcxproj.user files 2012-11-11 10:53:02 +01:00
Guenter Obiltschnig
79eab26377 the great line endings cleanup 2012-11-11 09:57:01 +01:00
Guenter Obiltschnig
a628c56a01 - Poco::Net::HTTPSSessionInstantiator::registerInstantiator() now optionally accepts a Poco::Net::Context object. 2012-11-10 11:48:35 +01:00
Guenter Obiltschnig
f5351b2f49 fixed 2012/64 project files 2012-10-14 14:55:49 +00:00
Guenter Obiltschnig
b90307c200 fixed vs2010 testsuite project files 2012-10-14 10:50:44 +00:00
Guenter Obiltschnig
d1e912ed46 fixed project files 2012-10-14 08:58:13 +00:00
Guenter Obiltschnig
348eed8fb4 set WINVER to 0x501 2012-10-14 07:50:21 +00:00
Aleksandar Fabijanic
bf74a4be8b FreeBSD build and threading 2012-10-01 00:31:28 +00:00
Aleksandar Fabijanic
991fb4a31f FreeBSD modifications 2012-09-26 02:51:43 +00:00
Aleksandar Fabijanic
fb275a9a30 Visual Studio 2012 projects and solutions files 2012-09-25 05:35:44 +00:00
Aleksandar Fabijanic
883de9670a Windows/VS2011 build all configs 2012-09-23 06:28:42 +00:00
Aleksandar Fabijanic
a221b14522 porting rev.1998 from 1.4.4 (except ODBC, which will be done later, and SQLite, which was ported in rev.1999) 2012-09-05 02:43:06 +00:00
Aleksandar Fabijanic
a66e55cb54 porting rev. 1936 from 1.4.4 (fixed SF# 3555938) 2012-08-24 02:32:30 +00:00
Aleksandar Fabijanic
2a6d58c7f2 porting 1.4.4 rev. 1968 (fixed SF# 3559665, etc.) 2012-08-23 03:15:19 +00:00
Aleksandar Fabijanic
90a8e859bf - SF #3552774: Don't hide default target in subordinate makefile
- SF #3534307: Building IPv6 for Linux by default
- SF #3516844: poco missing symbols with external >=lipcre-8.13 
- fix of rev. 1952 fix (porting rev.1913 from 1.4.4 (fixed SF# 3550553))
2012-08-20 00:57:17 +00:00
Aleksandar Fabijanic
369218ef37 porting rev.1913 from 1.4.4 (fixed SF# 3550553) 2012-08-18 02:24:52 +00:00
Aleksandar Fabijanic
662050937e porting rev.1912 from 1.4.4 (fixed SF# 3552597) 2012-08-18 02:19:34 +00:00
Aleksandar Fabijanic
95c3e8871e Linux 64-bit and static build fixes (only Ubuntu build tested) 2012-07-07 16:03:21 +00:00
Marian Krivos
114de565ff added cmake support 2012-06-26 12:37:02 +00:00
Aleksandar Fabijanic
5a639074d9 change EOL to 'native' 2012-04-29 18:52:25 +00:00
Aleksandar Fabijanic
d75e68c027 new trunk (base for 1.5)
windows build only
2012-04-23 01:14:34 +00:00
Aleksandar Fabijanic
f9b60296f7 removing old trunk files 2012-04-23 00:43:14 +00:00
Guenter Obiltschnig
2ce14cafb5 added progen files 2012-04-20 15:33:17 +00:00
Marian Krivos
a002f13be2 trunk: updated standard VS2010 sln to include x64 support (all in one) 2012-02-11 12:13:15 +00:00
Marian Krivos
0a33514f33 cmake : fix for dependencies 2012-02-07 09:10:42 +00:00
Marian Krivos
218b06621d trunk: split cmake debug/optimize build 2 2012-01-08 19:10:15 +00:00
Marian Krivos
b59d198396 cmake build system cleanup 2012-01-08 09:37:13 +00:00
Marian Krivos
7cb622a445 trunk: split cmake debug/optimize build 2012-01-07 13:45:03 +00:00
Marian Krivos
eb266f8a57 Set cmake produced shared libraries numbering to standard scheme (trunk = 12)
Sync latest Foundation changes from 1.4.2
2011-09-15 08:31:51 +00:00
Marian Krivos
56c6a4f758 NetSSL_OpenSSL: complete merge to 1.4.2 2011-09-14 18:17:35 +00:00
Marian Krivos
0ac146cb9e cmake improvements: test and samples are from now disabled by default, you can enable this option with cmdline option to cmake: '-DENABLE_TESTS=1'
minimum required CMAKE version is 2.6 from now
2011-01-22 11:46:03 +00:00
Marian Krivos
c5b2daa36c cmake build system fix - debug version of ther library was striped and vice versa 2009-08-26 12:26:22 +00:00
Aleksandar Fabijanic
c6ee567a71 linking with DLLs for shared configurations 2009-06-22 19:49:56 +00:00
Marian Krivos
122fc1216e fix crypto linking after refactoring 2009-06-22 11:06:29 +00:00
Aleksandar Fabijanic
eab448d02d VS90 project files fixes for NetSSL (using default C:\OpenSSL directory) 2009-06-19 12:23:08 +00:00
Guenter Obiltschnig
99c48cff49 integrated changes from 1.3.5 2009-06-16 16:56:28 +00:00
Marian Krivos
1afd0a8328 bugfix #2781776 - cmake instals .svn directories 2009-04-27 19:22:30 +00:00
Guenter Obiltschnig
ef850957c5 updated certificates 2009-02-24 19:16:58 +00:00
Guenter Obiltschnig
75a07d7983 NetSSL library refactoring 2009-02-23 20:56:01 +00:00
Marian Krivos
2c304d744d adaptation cmake scripts to current MinGW platform (exclude SSL/Crypto/MySQL/Apache/ODBC) 2009-02-22 19:58:27 +00:00
Marian Krivos
ac01609444 cmake scripts for all tests 2009-02-21 20:19:53 +00:00
Marian Krivos
60e1433f51 rest of cmake scripts for samples + apache/apr detection 2009-02-21 09:58:44 +00:00
Marian Krivos
16cdb4b127 cmake runtime install support (headers+libs) 2009-02-18 20:47:32 +00:00
Marian Krivos
32642ba9c1 More cmake scripts: ApacheConnector, Crypto, NetSSL, WebWidgets, Zip 2009-02-17 20:02:37 +00:00
Peter Schojer
8a2502bce4 added https->http redirect, improved redirect support in streamfactory, fixed client cert validation error 2008-12-19 08:10:04 +00:00
Guenter Obiltschnig
5f605414ff OpenSSL improvements 2008-09-18 15:54:03 +00:00
Peter Schojer
de1518b091 exceptions instead of assertions 2008-09-18 10:38:22 +00:00
Guenter Obiltschnig
57762a2cfc fixed various bugs (see SF tracker) 2008-09-16 17:26:28 +00:00
Guenter Obiltschnig
c23141fa4d added release scripts 2008-06-09 18:42:07 +00:00
Aleksandar Fabijanic
1c393ae9ab VS 71 projects and solutions 2008-03-27 14:53:54 +00:00
Aleksandar Fabijanic
2c75405620 static project configurations 2008-02-18 19:21:34 +00:00
Aleksandar Fabijanic
5bf096bb2a - SF [1800596] VS Solutions (ver. 8.0 and 9.0)
- SF [1621372] Build Scripts (all Windows scripts consolidated in one)
- eliminated warnings in sqlite3.c
- updated components file
2008-02-17 17:14:33 +00:00
Guenter Obiltschnig
15b371a7a8 synced with main repository 2008-01-28 17:37:36 +00:00
Eran Hammer-Lahav
19dca2aa79 Feature Request #1873922
Add project and solution files for Visual Studio 2008
2008-01-17 18:07:39 +00:00
Guenter Obiltschnig
a04bae94d7 synchronized trunk 2007-08-10 13:57:07 +00:00
Guenter Obiltschnig
e701c977f5 latest sources from main repository 2007-06-13 15:15:43 +00:00
Aleksandar Fabijanic
c865b42353 eclipse projects 2007-05-16 19:22:45 +00:00
Guenter Obiltschnig
cf80f255be committed 1.3 release 2007-05-07 16:46:23 +00:00
Guenter Obiltschnig
adfaac6703 latest changes from main repository; added eclipse cdt project files 2007-04-28 09:34:20 +00:00
Guenter Obiltschnig
4d80e24d44 latest changes from main repository 2007-04-27 13:25:16 +00:00
Guenter Obiltschnig
72e771c9e9 committed latest 1.3 snapshot 2007-04-18 16:25:30 +00:00
Guenter Obiltschnig
1691fc3074 sync to internal repository 2007-02-23 14:48:34 +00:00
Guenter Obiltschnig
d615c47379 integrated changes fro mmain repository 2007-01-04 16:01:28 +00:00
Guenter Obiltschnig
5dc1336af8 sources from main repository 2006-12-22 10:06:10 +00:00