Revision a8eeedb60396e146b4a5cb5068f57b78600d7d07 authored by Kurt Roeckx on 23 December 2013, 18:45:26 UTC, committed by Dr. Stephen Henson on 14 February 2014, 22:35:15 UTC
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 3343220327664680420d4068e1fbe46d2236f1b0)
1 parent b3d8de7

Computing file changes ...