Commit Graph

61 Commits

Author SHA1 Message Date
Benoît Bleuzé
a399ff6015 Crypto: add tests for cipher custom digests 2015-09-03 18:54:31 +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
ca3cabf064 remove header copying from pre-build (done by build script) 2015-04-25 17:16:07 -05:00
Alex Fabijanic
af6c22c0ac simplify Crypto and NetSSL VS projects 2015-04-25 16:18:19 -05:00
Alex Fabijanic
100fa63a55 adapted Crypto and NetSSL projects for poco OpenSSL binaries 2015-04-21 22:20:38 -05: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
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
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
John Nelson
18ffcdd7c3 Don't DES-encrypt priv keys without a passphrase
Per https://www.openssl.org/docs/crypto/pem.html, specifying to encrypt
a private key with DES *without* providing a passphrase causes OpenSSL
to prompt for the passphrase to use on the console -- which is
problematic for GUI applications which generally lack a console.

This modifies the behavior of RSAKeyImpl::save() so that DES encryption
of private keys will not be attempted unless the passphrase argument is
non-empty. This will also suppress OpenSSL's prompting for that
passphrase on the console.

Also added a case to the test suite.
2014-10-13 13:33:22 -06: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
9ad81fd6a2 improved Crypto tests 2014-09-18 20:58:41 +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
975c30faf0 Add CTests for all components 2014-06-17 11:30:03 +02: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
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
Pascal Bach
850148f775 Add SHA1 test for Poco::Crypto::DigestEngine 2014-03-12 15:19:36 +01:00
Günter Obiltschnig
e4b9ea32f2 style fix 2014-03-09 15:57:46 +01:00
Cristian Thiago Moecke
53e6d9efaa Improve RSADigestEngine, using Poco::Crypto::DigestEngine to calculate
the hash before signing. That way we can then support RSA signatures
with any hash supported by OpenSSL, not only MD5 and SHA1. It was also
required a new method on DigestEngine to obtain the NID (numeric ID) of
the algorithm, to be used on the OpenSSL RSA_sign call.
2014-02-21 04:43:05 -08: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
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
Marian Krivos
9349786415 cmake and gcc warning fixes 2013-02-19 06:16:12 +01:00
aleks-f
911f22508e Any SOO 2013-01-31 21:12:13 -06:00
alex
161ea4ec18 unbundled build fixes 2013-01-05 00:04:09 -06:00
Aleksandar Fabijanic
245f3e7568 VS 2012 mods to proj/sln files
VS 2012 modifications to project/solution files
added WinTestRunner dependency on CppUnit
2012-12-08 21:55:47 -06: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
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
415921954f set WINVER to 0x501 2012-10-14 07:49:17 +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
Guenter Obiltschnig
4367c5da7c fixed DigestEngine test in Crypto 2012-09-25 04:42:58 +00:00
Aleksandar Fabijanic
883de9670a Windows/VS2011 build all configs 2012-09-23 06:28:42 +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
9b952a29c7 ported 1.4.4 branch changes (needs build checks and test runs!) 2012-05-19 03:04:51 +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