1. 15 Oct, 2013 7 commits
    • Tyler Hall's avatar
      ssh: Handle successful SSH_USERAUTH_NONE · 0218a737
      Tyler Hall authored
      
      
      According to the documentation for libssh2_userauth_list(), a NULL
      return value is not necessarily an error. You must call
      libssh2_userauth_authenticated() to determine if the SSH_USERAUTH_NONE
      request was successful.
      
      This fixes a segv when using sftp on a server that allows logins with an
      empty password. When NULL was interpreted as an error, it would
      free the session but not flag an error since the libssh2 errno would be
      clear. This resulted in dereferencing a NULL session pointer.
      
      Signed-off-by: default avatarTyler Hall <tylerwhall@gmail.com>
      0218a737
    • Ishan SinghLevett's avatar
      usercertinmem: fix memory leaks · 18ca0aa9
      Ishan SinghLevett authored
      18ca0aa9
    • Dave Reisner's avatar
      c4e6c33b
    • Dave Reisner's avatar
      tool: use XFERFUNCTION to save some casts · d774802e
      Dave Reisner authored
      d774802e
    • Alessandro Ghedini's avatar
      69c0d3fb
    • Daniel Stenberg's avatar
      076726f1
    • Gergely Nagy's avatar
      SSL: protocol version can be specified more precisely · ad34a2d5
      Gergely Nagy authored
      CURL_SSLVERSION_TLSv1_0, CURL_SSLVERSION_TLSv1_1,
      CURL_SSLVERSION_TLSv1_2 enum values are added to force exact TLS version
      (CURL_SSLVERSION_TLSv1 means TLS 1.x).
      
      axTLS:
      axTLS only supports TLS 1.0 and 1.1 but it cannot be set that only one
      of these should be used, so we don't allow the new enum values.
      
      darwinssl:
      Added support for the new enum values.
      
      SChannel:
      Added support for the new enum values.
      
      CyaSSL:
      Added support for the new enum values.
      Bug: The original CURL_SSLVERSION_TLSv1 value enables only TLS 1.0 (it
      did the same before this commit), because CyaSSL cannot be configured to
      use TLS 1.0-1.2.
      
      GSKit:
      GSKit doesn't seem to support TLS 1.1 and TLS 1.2, so we do not allow
      those values.
      Bugfix: There was a typo that caused wrong SSL versions to be passed to
      GSKit.
      
      NSS:
      TLS minor version cannot be set, so we don't allow the new enum values.
      
      QsoSSL:
      TLS minor version cannot be set, so we don't allow the new enum values.
      
      OpenSSL:
      Added support for the new enum values.
      Bugfix: The original CURL_SSLVERSION_TLSv1 value enabled only TLS 1.0,
      now it enables 1.0-1.2.
      
      Command-line tool:
      Added command line options for the new values.
      ad34a2d5
  2. 14 Oct, 2013 3 commits
  3. 13 Oct, 2013 4 commits
  4. 12 Oct, 2013 3 commits
  5. 11 Oct, 2013 1 commit
  6. 09 Oct, 2013 1 commit
  7. 07 Oct, 2013 3 commits
  8. 06 Oct, 2013 2 commits
  9. 03 Oct, 2013 1 commit
  10. 02 Oct, 2013 2 commits
  11. 01 Oct, 2013 1 commit
  12. 30 Sep, 2013 1 commit
  13. 29 Sep, 2013 6 commits
  14. 28 Sep, 2013 4 commits
  15. 27 Sep, 2013 1 commit