1. 22 9月, 2015 2 次提交
    • D
      RT3479: Add UTF8 support to BIO_read_filename() · ff03599a
      David Woodhouse 提交于
      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: NRich Salz <rsalz@akamai.com>
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      ff03599a
    • G
      RT3823: Improve the robustness of event logging · 4cd94416
      Gunnar Kudrjavets 提交于
      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: NRich Salz <rsalz@akamai.com>
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      4cd94416
  2. 21 9月, 2015 4 次提交
  3. 20 9月, 2015 23 次提交
  4. 19 9月, 2015 4 次提交
  5. 18 9月, 2015 7 次提交