Commit 445245ca authored by Marc Hoersken's avatar Marc Hoersken Committed by Daniel Stenberg
Browse files

schannel: Code cleanup

parent f96f1f31
Loading
Loading
Loading
Loading
+3 −11
Original line number Diff line number Diff line
@@ -40,10 +40,8 @@
 * TODO list for TLS/SSL implementation:
 * - implement session handling and re-use
 * - implement write buffering
 * - implement verification options
 * - implement verification results
 * - implement SSL/TLS shutdown
 * - special cases: negotiation, certificates, algorithms
 * - special cases: renegotiation, certificates, algorithms
 */

#include "setup.h"
@@ -132,8 +130,6 @@ schannel_connect_step1(struct connectdata *conn, int sockindex) {
      break;
  }

  /* TODO: implement verification options */

  /* http://msdn.microsoft.com/en-us/library/windows/desktop/aa374716.aspx */
  sspi_status = s_pSecFn->AcquireCredentialsHandleA(NULL,
    UNISP_NAME_A, SECPKG_CRED_OUTBOUND, NULL, &schannel_cred,
@@ -358,12 +354,8 @@ schannel_connect_step2(struct connectdata *conn, int sockindex) {

  /* check if the handshake is complete */
  if(sspi_status == SEC_E_OK) {
    infof(data, "schannel: handshake complete\n");

    /* TODO: implement verification results */

    connssl->connecting_state = ssl_connect_3;
    infof(data, "SSL connected\n");
    infof(data, "schannel: handshake complete\n");
  }

  return CURLE_OK;