openssl/apps
Kurt Roeckx a8eeedb603 Use defaults bits in req when not given
If you use "-newkey rsa" it's supposed to read the default number of bits from the
config file.  However the value isn't used to generate the key, but it does
print it's generating such a key.  The set_keygen_ctx() doesn't call
EVP_PKEY_CTX_set_rsa_keygen_bits() and you end up with the default set in
pkey_rsa_init() (1024).  Afterwards the number of bits gets read from the config
file, but nothing is done with that anymore.

We now read the config first and use the value from the config file when no size
is given.

PR: 2592
(cherry picked from commit 3343220327)
2014-02-14 22:35:15 +00:00
..
demoCA
demoSRP Add SRP. 2011-03-16 11:26:40 +00:00
set
.cvsignore Apply mingw patches as supplied by Roumen Petrov an Alon Bar-Lev 2008-04-17 10:19:16 +00:00
app_rand.c
apps.c Improve WINCE support. 2014-02-01 22:48:56 +01:00
apps.h Improve WINCE support. 2014-02-01 22:48:56 +01:00
asn1pars.c PR: 2527 2011-05-25 15:05:56 +00:00
ca-cert.srl
ca-key.pem
ca-req.pem
ca.c fix printout of expiry days if -enddate is used in ca 2013-08-19 21:55:07 +01:00
CA.com Corrections to the VMS build system. 2011-03-25 16:21:08 +00:00
CA.pl.in Fix from stable branch. 2006-04-28 00:30:49 +00:00
CA.sh PR: 1847 2009-10-15 17:27:47 +00:00
cert.pem
ciphers.c new command line option -stdname to ciphers utility 2013-08-19 20:25:39 +01:00
client.pem Replace expired test server and client certificates with new ones. 2011-12-08 14:45:15 +00:00
cms.c Custom key wrap option for cms utility. 2013-10-01 14:01:18 +01:00
crl.c add -badsig option to corrupt CRL signatures for testing too 2013-09-14 13:53:44 +01:00
crl2p7.c Change STRING to OPENSSL_STRING etc as common words such 2009-07-27 21:08:53 +00:00
dgst.c Add -engine_impl option to dgst which will use an implementation of 2014-01-23 18:35:42 +00:00
dh.c Fix warnings (From HEAD, original patch by Ben). 2010-06-15 17:25:15 +00:00
dh512.pem
dh1024.pem
dh2048.pem
dh4096.pem
dhparam.c PR: 2908 2012-11-21 14:02:30 +00:00
dsa-ca.pem
dsa-pca.pem
dsa.c PR: 2220 2010-04-06 11:18:32 +00:00
dsa512.pem
dsa1024.pem
dsap.pem
dsaparam.c Reduce version skew: trivia (I hope). 2012-06-03 22:03:37 +00:00
ec.c Fix warnings (From HEAD, original patch by Ben). 2010-06-15 17:25:15 +00:00
ecparam.c Fix various spelling errors 2014-02-14 22:35:15 +00:00
enc.c add fips hmac option and fips blocking overrides to command line utilities 2012-02-10 16:46:19 +00:00
engine.c Change STRING to OPENSSL_STRING etc as common words such 2009-07-27 21:08:53 +00:00
errstr.c LHASH revamp. make depend. 2008-05-26 11:24:29 +00:00
gendh.c Fix warnings (From HEAD, original patch by Ben). 2010-06-15 17:25:15 +00:00
gendsa.c Fix warnings (From HEAD, original patch by Ben). 2010-06-15 17:25:15 +00:00
genpkey.c Make no-engine work again. 2008-12-20 17:04:40 +00:00
genrsa.c Change default bits to 1024 2013-01-07 16:13:48 +00:00
install-apps.com Apply all the changes submitted by Steven M. Schweda <sms@antinode.info> 2011-03-19 09:47:47 +00:00
makeapps.com Corrections to the VMS build system. 2011-03-25 16:21:08 +00:00
Makefile make update 2013-12-01 23:09:44 +00:00
nseq.c Update obsolete email address... 2008-11-05 18:39:08 +00:00
ocsp.c Constification. 2013-10-07 12:44:40 +01:00
oid.cnf
openssl-vms.cnf make update 2011-12-27 14:38:27 +00:00
openssl.c Call RAND_cleanup in openssl application. 2013-03-28 14:29:11 +00:00
openssl.cnf The default CN prompt message can be confusing when often the CN needs to 2011-12-06 00:00:51 +00:00
passwd.c Brought forward from 0.9.8 - 64 bit warning fixes and fussy compiler fixes. 2005-06-29 11:02:15 +00:00
pca-cert.srl
pca-key.pem
pca-req.pem
pkcs7.c Fix warnings (From HEAD, original patch by Ben). 2010-06-15 17:25:15 +00:00
pkcs8.c Tolerate PKCS#8 DSA format with negative private key. 2010-01-22 20:17:30 +00:00
pkcs12.c Don't use RC2 with PKCS#12 files in FIPS mode. 2013-06-05 15:06:02 +01:00
pkey.c Update obsolete email address... 2008-11-05 18:39:08 +00:00
pkeyparam.c Fix warnings (From HEAD, original patch by Ben). 2010-06-15 17:25:15 +00:00
pkeyutl.c PR: 2366 2010-11-11 14:42:34 +00:00
prime.c Generate primes, too. 2005-08-23 13:48:17 +00:00
privkey.pem Oops... 2006-05-17 12:29:16 +00:00
progs.h PR: 2714 2012-02-10 19:44:00 +00:00
progs.pl PR: 2714 2012-02-10 19:44:00 +00:00
rand.c Fix warnings (From HEAD, original patch by Ben). 2010-06-15 17:25:15 +00:00
req.c Use defaults bits in req when not given 2014-02-14 22:35:15 +00:00
req.pem
rsa.c PR: 2220 2010-04-06 11:18:32 +00:00
rsa8192.pem
rsautl.c Make no-rsa, no-dsa and no-dh compile again. 2009-04-23 17:16:40 +00:00
s512-key.pem
s512-req.pem
s1024key.pem
s1024req.pem
s_apps.h Add callbacks supporting generation and retrieval of supplemental data entries, facilitating RFC 5878 (TLS auth extensions) 2014-02-08 16:12:15 -08:00
s_cb.c More cleanup. 2014-02-09 08:07:04 -08:00
s_client.c Const fix. 2014-02-09 08:07:16 -08:00
s_server.c Whitespace fixes. 2014-02-09 19:31:07 +00:00
s_socket.c Provisional DTLS 1.2 support. 2013-09-18 13:46:02 +01:00
s_time.c If we include winsock2.h then FD_SET wants an unsigned type for an fd. 2006-04-17 12:22:13 +00:00
server.pem Replace expired test server and client certificates with new ones. 2011-12-08 14:45:15 +00:00
server.srl
server2.pem Replace expired test server and client certificates with new ones. 2011-12-08 14:45:15 +00:00
sess_id.c Initial "opaque SSL" framework. If an application defines OPENSSL_NO_SSL_INTERN 2011-05-11 12:56:38 +00:00
smime.c Add new function X509_STORE_set_verify_cb and use it in apps 2009-10-18 14:42:27 +00:00
speed.c Reduce version skew: trivia (I hope). 2012-06-03 22:03:37 +00:00
spkac.c Updatde from stable branch. 2009-01-07 23:44:27 +00:00
srp.c Reduce version skew: trivia (I hope). 2012-06-03 22:03:37 +00:00
testCA.pem
testdsa.h openssl speed is quite useful for testing hardware support (among other 2001-07-11 18:59:25 +00:00
testrsa.h
timeouts.h Add DTLS support. 2005-04-26 16:02:40 +00:00
ts.c Add new function X509_STORE_set_verify_cb and use it in apps 2009-10-18 14:42:27 +00:00
tsget PR: 2031 2009-09-07 17:57:02 +00:00
verify.c Add code to download CRLs based on CRLDP extension. 2013-01-18 15:38:13 +00:00
version.c Add missing "-d" to option list of openssl version. 2008-10-20 12:53:36 +00:00
vms_decc_init.c Apply all the changes submitted by Steven M. Schweda <sms@antinode.info> 2011-03-19 09:47:47 +00:00
winrand.c Security fixes brought forward from 0.9.7. 2002-11-13 15:43:43 +00:00
x509.c Add new test option set the version in generated certificates: this 2013-08-19 18:10:04 +01:00