1. 23 Oct, 2015 8 commits
  2. 22 Oct, 2015 1 commit
  3. 15 Oct, 2015 1 commit
  4. 14 Oct, 2015 1 commit
  5. 13 Oct, 2015 2 commits
  6. 10 Oct, 2015 1 commit
  7. 08 Oct, 2015 2 commits
    • Matt Caswell's avatar
      Don't treat a bare OCTETSTRING as DigestInfo in int_rsa_verify · 985abd1f
      Matt Caswell authored
      
      
      The function int_rsa_verify is an internal function used for verifying an
      RSA signature. It takes an argument |dtype| which indicates the digest type
      that was used. Dependant on that digest type the processing of the
      signature data will vary. In particular if |dtype == NID_mdc2| and the
      signature data is a bare OCTETSTRING then it is treated differently to the
      default case where the signature data is treated as a DigestInfo (X509_SIG).
      
      Due to a missing "else" keyword the logic actually correctly processes the
      OCTETSTRING format signature first, and then attempts to continue and
      process it as DigestInfo. This will invariably fail because we already know
      that it is a bare OCTETSTRING.
      
      This failure doesn't actualy make a real difference because it ends up at
      the |err| label regardless and still returns a "success" result. This patch
      just cleans things up to make it look a bit more sane.
      
      RT#4076
      
      Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
      (cherry picked from commit dffe5109)
      985abd1f
    • Richard Levitte's avatar
      When ENGINE_add finds that id or name is missing, actually return · b0042479
      Richard Levitte authored
      
      
      Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
      (cherry picked from commit 5850cc75)
      b0042479
  8. 07 Oct, 2015 4 commits
  9. 06 Oct, 2015 1 commit
  10. 05 Oct, 2015 2 commits
  11. 03 Oct, 2015 1 commit
  12. 29 Sep, 2015 2 commits
  13. 28 Sep, 2015 2 commits
  14. 25 Sep, 2015 2 commits
  15. 22 Sep, 2015 5 commits
  16. 21 Sep, 2015 3 commits
    • David Woodhouse's avatar
      RT3479: Add UTF8 support to BIO_read_filename() · 0ea050e7
      David Woodhouse authored
      
      
      If we use BIO_new_file(), on Windows it'll jump through hoops to work
      around their unusual charset/Unicode handling. it'll convert a UTF-8
      filename to UCS-16LE and attempt to use _wfopen().
      
      If you use BIO_read_filename(), it doesn't do this. Shouldn't it be
      consistent?
      
      It would certainly be nice if SSL_use_certificate_chain_file() worked.
      
      Also made BIO_C_SET_FILENAME work (rsalz)
      
      Signed-off-by: default avatarRich Salz <rsalz@akamai.com>
      Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
      (cherry picked from commit ff03599a)
      0ea050e7
    • Gunnar Kudrjavets's avatar
      RT3823: Improve the robustness of event logging · d601b9b5
      Gunnar Kudrjavets authored
      
      
      There are a couple of minor fixes here:
      
      1) Handle the case when RegisterEventSource() fails (which it may for
      various reasons) and do the work of logging the event only if it succeeds.
      
      2) Handle the case when ReportEvent() fails and do our best in debug builds
      to at least attempt somehow indicate that something has gone wrong. The
      typical situation would be someone running tools like DbMon, DBWin32,
      DebugView or just having the debugger attached. The intent is to make sure
      that at least some data will be captured so that we can save hours and days
      of debugging time.
      
      3) Minor fix to change the MessageBox() flag to MB_ICONERROR. Though the
      value of MB_ICONERROR is the same value as MB_ICONSTOP, the intent is
      better conveyed by using MB_ICONERROR.
      
      Testing performed:
      
      1) Clean compilation for debug-VC-WIN32 and VC-WIN32.
      
      2) Good test results (nmake -f ms\ntdll.mak test) for debug-VC-WIN32 and
      VC-WIN32.
      
      3) Stepped through relevant changes using WinDBG and exercised the impacted
      code paths.
      
      Signed-off-by: default avatarRich Salz <rsalz@akamai.com>
      Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
      (cherry picked from commit 4cd94416)
      d601b9b5
    • Matt Caswell's avatar
      Fix SRP memory leaks · b21b330b
      Matt Caswell authored
      
      
      There were some memory leaks in the creation of an SRP verifier (both on
      successful completion and also on some error paths).
      
      Reviewed-by: default avatarEmilia Käsper <emilia@openssl.org>
      (cherry picked from commit bf95cde2)
      b21b330b
  17. 20 Sep, 2015 2 commits