1. 07 12月, 2015 4 次提交
  2. 06 12月, 2015 1 次提交
  3. 05 12月, 2015 6 次提交
  4. 03 12月, 2015 10 次提交
  5. 02 12月, 2015 6 次提交
  6. 01 12月, 2015 1 次提交
  7. 30 11月, 2015 4 次提交
  8. 29 11月, 2015 1 次提交
  9. 28 11月, 2015 3 次提交
  10. 27 11月, 2015 1 次提交
  11. 26 11月, 2015 3 次提交
    • M
      Fix a NULL deref in an error path · 3bbd1d63
      Matt Caswell 提交于
      The SRP_create_verifier_BN function goes to the |err| label if the |salt|
      value passed to it is NULL. It is then deref'd.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      3bbd1d63
    • M
      Add documentation for BN_with_flags · e113c9c5
      Matt Caswell 提交于
      Following on from the previous commit this adds some documentation for the
      BN_with_flags function which is easy to misuse.
      Reviewed-by: NEmilia Käsper <emilia@openssl.org>
      e113c9c5
    • M
      Tighten up BN_with_flags usage and avoid a reachable assert · fd7d2520
      Matt Caswell 提交于
      The function rsa_ossl_mod_exp uses the function BN_with_flags to create a
      temporary copy (local_r1) of a BIGNUM (r1) with modified flags. This
      temporary copy shares some state with the original r1. If the state of r1
      gets updated then local_r1's state will be stale. This was occurring in the
      function so that when local_r1 was freed a call to bn_check_top was made
      which failed an assert due to the stale state. To resolve this we must free
      local_r1 immediately after we have finished using it and not wait until the
      end of the function.
      
      This problem prompted a review of all BN_with_flag usage within the
      codebase. All other usage appears to be correct, although often not
      obviously so. This commit refactors things to make it much clearer for
      these other uses.
      Reviewed-by: NEmilia Käsper <emilia@openssl.org>
      fd7d2520