Commit Graph

2785 Commits

Author SHA1 Message Date
micheleselea
63b74d4f93 make NetworkInterface working under XP
on >= Vista NetworkInterface works, but if you try under XP you have ifIndex always not setted: if you compile with XP SP1 defines you get code working on >=XP
2014-10-14 09:42:58 +02:00
Aleksandar Fabijanic
9bf743d4ac Update README.md 2014-10-13 20:26:52 -05:00
Aleksandar Fabijanic
0d78c34f0a Update README.md 2014-10-13 20:26:02 -05: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
mar-na
368fff1c05 Supported little endian for MIPS 2014-10-13 15:12:07 +02:00
Guenter Obiltschnig
50f1f12cab Poco::URI: added new constructor to create URI from Path 2014-10-12 11:19:52 +02:00
Alex Fabijanic
102413aed5 clang build fixes 2014-10-11 18:48:00 -05:00
Alex Fabijanic
09c7fc0fa0 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-10-11 18:26:14 -05:00
Alex Fabijanic
ff07ee1c6e an attempt to reproduce GH #491 2014-10-11 18:25:32 -05:00
Björn Schramke
8c06af9722 add OSX compliant implementation of XDG Base Directory Specification 2014-10-11 08:58:54 +02:00
Guenter Obiltschnig
e8f7c6e666 updated changelog 2014-10-11 07:39:59 +02:00
Alex Fabijanic
63a9c7cd2a GH #512: Poco:Data:ODBC:Binder.h causes a crash 2014-10-10 21:12:44 -05:00
Björn Schramke
8b5e855b6f Update Application.h
Add missing method declaration
2014-10-10 16:12:13 +02:00
Günter Obiltschnig
e719228861 certificate fixes 2014-10-10 12:26:54 +02:00
Günter Obiltschnig
5459d41540 updated README 2014-10-10 10:14:53 +02:00
Günter Obiltschnig
7312306ad8 fixed client handshake issue 2014-10-10 09:28:40 +02:00
Günter Obiltschnig
b72641d20b fixed misplaced #endif 2014-10-10 08:21:08 +02:00
Guenter Obiltschnig
af38d47df2 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-10-10 08:13:24 +02:00
Guenter Obiltschnig
d74afb9492 doc fix 2014-10-10 08:12:56 +02:00
Günter Obiltschnig
2d5827d332 fixed certificate name verification 2014-10-10 08:12:04 +02:00
Günter Obiltschnig
f65d98f9c1 fixed cert chain verification and samples 2014-10-09 23:56:00 +02:00
Guenter Obiltschnig
e271b1a970 updated CHANGELOG 2014-10-09 21:25:31 +02:00
Günter Obiltschnig
80952e11d1 optimizations, certificate verification, code cleanup 2014-10-09 20:54:07 +02:00
Björn Schramke
cd1195275e add new path values (configHome,cacheHome, etc) application config 2014-10-09 17:57:56 +02:00
Björn Schramke
1aaa61f3c8 add new path values (configHome,cacheHome, etc) application config 2014-10-09 17:48:42 +02:00
Guenter Obiltschnig
5b0fa2e06a Poco::Buffer properly handles zero-sized buffers 2014-10-09 10:34:46 +02:00
Björn Schramke
ce56190f9f add some methods to Poco::Path for make it easy to follow XDG Base Directory Specification 2014-10-09 09:46:21 +02:00
Günter Obiltschnig
1d7d57a321 NetSSL_Win: various bugfixes and improvements 2014-10-08 21:35:50 +02:00
Guenter Obiltschnig
ef34c21e91 added Clock::raw(); style fixes 2014-10-08 07:59:48 +02:00
Günter Obiltschnig
9ee4d0a36b Merge pull request #558 from ivannp/develop
Adding Timestamp::raw
2014-10-08 07:56:04 +02:00
Ivan Popivanov
cab8224cc3 Adding Timestamp::raw
Returns the raw value, (the internal representation) of the timestamp.
Useful when storing to a database for instance.
2014-10-08 01:51:06 -04:00
Alex Fabijanic
c8563c86bf Bug in doubleToStr #557 2014-10-07 23:40:36 -05:00
Günter Obiltschnig
5aa996aa64 updated README 2014-10-07 23:25:31 +02:00
Günter Obiltschnig
8bf66bb3f9 Added support for loading certificates and private key pairs from PKCS #12 files, as well as loading certificates (without private key) from PEM or DER files. Some code restructuring and cleanup. 2014-10-07 23:16:58 +02:00
Günter Obiltschnig
75919178fb fixed a warning 2014-10-07 12:04:03 +02:00
Guenter Obiltschnig
c1976b8fd4 minor cleanup for consistency with 1.4.7 2014-10-06 14:39:54 +02:00
Guenter Obiltschnig
eafecb2b22 updated libversion to 24 2014-10-06 14:17:04 +02:00
Guenter Obiltschnig
501470c1d3 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-10-06 14:16:15 +02:00
Guenter Obiltschnig
a04228aee3 updated version to 1.5.4 2014-10-06 14:15:57 +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
756bbdd3d2 HAVE_STDINT_H=0 was not honored in pcre_internal.h 2014-10-06 10:30:04 +02:00
Guenter Obiltschnig
5cbcae3ee5 renamed config.h to pcre_config.h, as was before integration of pcre 8.35 2014-10-06 08:54:18 +02:00
Günter Obiltschnig
e8c19d0efe Merge pull request #551 from danoli3/pcre_update_2014
PCRE updated to 8.35.0
2014-10-06 08:00:57 +02:00
Guenter Obiltschnig
71511b1960 fix TypeHandler sample 2014-10-06 07:35:55 +02:00
Guenter Obiltschnig
d66fde51b5 #544 use _DEBUG instead of DEBUG macro in [Simple]HashTable 2014-10-06 07:35:04 +02:00
Günter Obiltschnig
2808fec7c3 Merge pull request #554 from danoli3/zlib_debug_fixes
zlib patch for DEBUG pre-processor
2014-10-06 07:29:51 +02:00
Daniel Rosser
7d413184e6 zlib patch for DEBUG pre-processor
Patch as described on zlib:
https://github.com/madler/zlib/pull/80
2014-10-06 14:37:39 +11:00
Guenter Obiltschnig
fb2eba8eac HTTPCookie: fix documentation for max age 2014-10-04 07:40:43 +02:00
Alex Fabijanic
a25877bfc2 - FIFOBuffer drain() problem #552
- StreamSocket::receiveBytes(FIFOBuffer&) and sendBytes(FIFOBuffer&) are
  not thread safe #402
2014-10-03 16:12:42 -05:00