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
Guenter Obiltschnig
87f1d0f940
#596 : only include openssl/fips.h for OpenSSL versions < 1.0.1
2014-11-06 13:17:43 +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
865943438b
fixed #596 : For OpenSSL 1.0.1, include openssl/crypto.h not openssl/fips.h
2014-11-06 11:16:33 +01: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
John Nelson
8a51be2a0d
Fix RSAKey constructor documentation.
...
The two RSAKey constructors which take existing keys (one from a
stream, the other from a string) have incomplete and ambiguous
documentation.
This change improves the header documentation to reflect that:
1. Decryption is supported using a private key (existing doc says you
can "only" sign if a private key is present),
2. Clarify that public key not needed when private key is present.
2014-10-13 13:48:29 -06: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
544229302e
#538 prevent destructors from throwing exceptions
2014-09-19 09:46:49 +02:00
Guenter Obiltschnig
9ad81fd6a2
improved Crypto tests
2014-09-18 20:58:41 +02:00
Guenter Obiltschnig
ded5af27db
fixed #527 : added OpenSSLInitializer to DigestEngine
2014-08-26 11:41:57 +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
Aleksandar Fabijanic
d0ebf0bc76
Merge pull request #507 from cristiantm/fix-memleak-rsaimpl
...
FIx to memleak on RSAImpl (#502 )
2014-08-12 23:26:12 -05:00
Günter Obiltschnig
30bb18f394
added VS2013 project/solution files for Windows Embedded Compact 2013
2014-08-09 10:49:04 +02:00
Guenter Obiltschnig
52ba87a6f0
fixed GH #510 : Incorrect RSAKey construction from istream
2014-08-01 09:57:41 +02:00
Cristian Thiago Moecke
4fa6e8b423
FIx to memleak on RSAImpl ( #502 )
2014-07-28 08:32:09 -03:00