Günter Obiltschnig
810f39c1d1
Revert "GH #1050 Crypto: fix gcc -Wshadow warnings"
2016-09-05 08:34:34 +02:00
Miklos Vajna
eccab535b5
GH #1050 Crypto: fix gcc -Wshadow warnings
2016-01-04 17:56:13 +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
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
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
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
Aleksandar Fabijanic
b9f4ce3b08
SF#3515284: RSA publickey format(X.509 SubjectPublicKeyInfo)
2012-08-22 02:00: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
Marian Krivos
bcf1d5b6a7
Crypto: complete merge to 1.4.2
2011-09-14 16:41:40 +00:00
Guenter Obiltschnig
99c48cff49
integrated changes from 1.3.5
2009-06-16 16:56:28 +00:00
Peter Schojer
4975ac2c44
copied Crypto from sandbox to trunk
2008-10-31 09:06:54 +00:00