Skip to content
  1. Feb 26, 2014
  2. Feb 25, 2014
  3. Feb 24, 2014
  4. Feb 23, 2014
  5. Feb 21, 2014
  6. Feb 20, 2014
  7. Feb 18, 2014
  8. Feb 15, 2014
  9. Feb 14, 2014
    • Kurt Roeckx's avatar
      Use defaults bits in req when not given · a8eeedb6
      Kurt Roeckx authored
      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 33432203)
      a8eeedb6