1. 08 Jan, 2013 1 commit
  2. 17 Dec, 2012 2 commits
  3. 26 Nov, 2012 1 commit
    • fix build on FreeBSD · 9e9aee67
      3f9eb1e5 introduced support for SSL certificates issued for IP
      addresses, making use of in_addr and in_addr6 structs.  On FreeBSD
      these are defined in (a file included in) <netinet/in.h>, so include
      that file on FreeBSD and get the build working again.
      Fraser Tweedale committed
  4. 07 Nov, 2012 1 commit
  5. 06 Nov, 2012 2 commits
  6. 01 Nov, 2012 1 commit
  7. 20 Oct, 2012 1 commit
  8. 03 Sep, 2012 2 commits
  9. 28 Aug, 2012 1 commit
    • ssl: make cert check ignore work for invalid certs, not just CNs · 0d5dce26
      Passing SSL_VERIFY_PEER makes OpenSSL shut down the connection if the
      certificate is invalid, without giving us a chance to ignore that
      error. Pass SSL_VERIFY_NONE and call SSL_get_verify_result if the user
      wanted us to check.
      
      When no CNs match, we used to jump to on_error which gave a bogus
      error as that's for OpenSSL errors. Jump to cert_fail so we tell the
      user that the error came from checking the certificate.
      Carlos Martín Nieto committed
  10. 30 Jul, 2012 3 commits
  11. 24 Jul, 2012 1 commit
  12. 22 Jun, 2012 1 commit
  13. 20 Jun, 2012 2 commits
  14. 15 Jun, 2012 1 commit
  15. 14 Jun, 2012 2 commits
  16. 13 Jun, 2012 1 commit
  17. 09 Jun, 2012 1 commit
  18. 07 Jun, 2012 2 commits
  19. 06 Jun, 2012 1 commit
  20. 27 May, 2012 1 commit
  21. 26 May, 2012 1 commit
  22. 19 May, 2012 8 commits
  23. 08 May, 2012 1 commit
  24. 07 May, 2012 1 commit
    • Define explicit _WIN32_WINNT version in makefile · 901fbdad
      Previously, it was defined in netops.c, but it's also needed in one of the
      clar tests, so I figured we might as well just make it global for the
      whole project.
      
      Without it, the mingw32 linker won't resolve GetProcessId() (called from
      the core/errors.c clar test) because of some conditionals in windows.h.
      Scott J. Goldman committed
  25. 05 May, 2012 1 commit
    • Fix gitno_connect() error handling on Windows · b4b96d56
      gitno_connect() can return an error or socket, which is fine on most
      platforms where sockets are file descriptors (signed int), but on Windows,
      SOCKET is an unsigned type, which is problematic when we are trying to
      test if the socket was actually a negative error code.
      
      This fix seperates the error code and socket in gitno_connect(), and fixes
      the error handling in do_connect() functions to compensate. It appears
      that git_connect() and the git-transport do_connect() functions had bugs
      in the non-windows cases too (leaking sockets, and not properly reporting
      connection error, respectively) so I went ahead and fixed those too.
      Scott J. Goldman committed