Commit Graph

146 Commits

Author SHA1 Message Date
Guenter Obiltschnig
bce346a8bc fix memory leak in CipherImpl with OpenSSL 1.1.x 2017-04-04 07:38:15 +02:00
Pascal Bach
b16ce1e4d9 Add addtional NIDs to be extracted from X.509 certificates.
- SerialNumber is especially useful on embedded devices
- email is commonly found in certificates

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2017-03-28 17:18:22 +02:00
Guenter Obiltschnig
f453dd145c added Visual Studio 2017 project files 2017-02-20 16:46:44 +01:00
Günter Obiltschnig
bfaa161c61 Crypto and NetSSL fixes for OpenSSL 1.1 2016-11-28 00:23:52 +01:00
Günter Obiltschnig
810f39c1d1 Revert "GH #1050 Crypto: fix gcc -Wshadow warnings" 2016-09-05 08:34:34 +02:00
Alex Fabijanic
3eb023132b Merge branch 'develop' into pr/1113
Conflicts:
	Foundation/testsuite/TestSuite_vs120.vcxproj
2016-03-07 21:38:26 -08:00
Alex Fabijanic
92225086a4 generated CppUnit and testsuites VS projects 2016-03-06 20:54:26 -08:00
Guenter Obiltschnig
fdd68b17f3 added X509Certificate::equals() 2016-02-25 22:15:32 +01:00
FrancisANDRE
ce797f7700 Make CppUnit a component of Poco
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-01-08 00:17:13 +01:00
Miklos Vajna
eccab535b5 GH #1050 Crypto: fix gcc -Wshadow warnings 2016-01-04 17:56:13 +01:00
FrancisANDRE
abfb94cd0d Remove NetSSL from crypto test dependencies.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-19 18:02:25 +01:00
FrancisANDRE
6e97a9f11b Split tests into samples & tests.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-19 17:15:55 +01:00
Alex Fabijanic
c5960a6745 add external openssl guard 2015-12-13 00:49:40 -06:00
Alex Fabijanic
50ae257a52 fix VS 2015 openssl static link 2015-12-13 00:28:00 -06:00
Alex Fabijanic
a495cc3661 OpenSSL: rebuilt binaries w/ VS 2013, fixed progen files, regenerated VS projects 2015-12-12 19:10:09 -06:00
Rangel Reale
b47f38fc33 * Don't leak <windows.h> (Poco/Unwindows.h) to library users 2015-12-10 13:16:02 -02:00
Guenter Obiltschnig
df36ae6a04 fixed GH #958: Bug while reading X509Certificate subjectName 2015-09-30 16:53:47 +02:00
Aleksandar Fabijanic
8aef165ed5 Merge pull request #938 from adasworks/develop
fix: cmake: set public compiler flags on library targets
2015-09-15 10:28:42 -05:00
Csaba Keszegh
61305c01ee fix: set public compiler flags on library targets
POCO_STATIC: has to be set when using poco as static library
POCO_NO_ATUMATIC_LIBS: CMake config module will find the correct libraries.
  Don't need to guess in headers.
2015-09-15 10:02:38 +02:00
Benoît Bleuzé
a399ff6015 Crypto: add tests for cipher custom digests 2015-09-03 18:54:31 +02:00
Benoît Bleuzé
2aa6657717 Crypto: Add any digest to key generation. 2015-08-31 09:25:34 +02:00
Günter Obiltschnig
b6ae5128ce added Visual Studio 2015 project files 2015-07-30 15:48:45 +02:00
Alex Fabijanic
6ef38bff0b updated Crypto and NetSSL VS projects, progen files; rebuilt openssl binaries 2015-05-22 00:11:56 -05:00
Alex Fabijanic
f38cf4a484 removed openssl headers, updated Crypto, teststuie progen files and VS projects 2015-05-21 20:05:44 -05:00
Alex Fabijanic
995832639e Merge branch 'develop' into OpenSSLBuild 2015-05-21 19:46:58 -05:00
gpongelli
82cbabc27b Update OpenSSL initialize with not deprecated code
OpenSSL's 1.0.2a CRYPTO_set_id_callback is deprecated.
This patch let use OpenSSL with deprecated code and with newer and not deprecated ones.
2015-05-20 19:13:28 +02:00
bobstabler
5fabd16525 Remove unref'ed static. 2015-04-30 16:51:32 -05:00
bobstabler
6ccfaa53d0 Allow caller to disable SSL Initialization, so it can be done outside of Poco. 2015-04-30 16:37:21 -05:00
Alex Fabijanic
ca3cabf064 remove header copying from pre-build (done by build script) 2015-04-25 17:16:07 -05:00
Alex Fabijanic
9fe19d1402 copy headers unconditionally 2015-04-25 16:23:07 -05:00
Alex Fabijanic
af6c22c0ac simplify Crypto and NetSSL VS projects 2015-04-25 16:18:19 -05:00
Alex Fabijanic
62597585a3 update gitignore to allow openssl binaries; update Progen to skip 32 suffix for 32-bit binaries 2015-04-21 23:36:25 -05:00
Alex Fabijanic
9f90303f38 OpenSSL build script, headers and binaries 2015-04-21 22:22:19 -05:00
Alex Fabijanic
100fa63a55 adapted Crypto and NetSSL projects for poco OpenSSL binaries 2015-04-21 22:20:38 -05:00
martin-osborne
7780ab3ae0 Corrected more spellings. 2015-04-10 11:43:49 +01:00
martin-osborne
4cf45ea4a3 Corrected more words. 2015-04-10 11:31:12 +01:00
martin-osborne
e9dce11e50 Correct mispelt 'd' and 'e' words. 2015-04-10 10:54:47 +01:00
martin-osborne
7e730aa9b8 Corrected other misspelt 'a' words. 2015-04-06 17:34:48 +01:00
Guenter Obiltschnig
c2528c3436 style fix 2015-03-27 21:14:04 +01:00
Guenter Obiltschnig
b5e5673b6e X509Certificate::issuedBy(): explicitely check for X509_verify() return value 1, disable test due to failure with newer OpenSSL versions (need to investigate) 2015-03-21 00:07:01 +01: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
676f043338 style fix 2014-12-15 11:12:24 +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
c7e9067fde fixed GH #622: Crypto: RSATest::testSign() should verify with public key only 2014-11-25 10:05:44 +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
e657309a0b GH #506: removed -lkrb5 dependency 2014-11-19 18:22:22 +01:00
Guenter Obiltschnig
4152b569c0 fixed GH #500: SSLManager causes a crash (use AtomicCounter, remove static Mutex) 2014-11-19 17:33:57 +01:00
Guenter Obiltschnig
03deea59c5 OpenSSLInitializer calls OPENSSL_config but not CONF_modules_free #612 2014-11-18 23:11:43 +01:00