Commit e7837bfd authored by Ben Noordhuis's avatar Ben Noordhuis Committed by Daniel Stenberg
Browse files

[pop3 starttls] the command to send is STLS, not STARTTLS.

parent e7164200
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -517,7 +517,7 @@ static CURLcode pop3_statemach_act(struct connectdata *conn)
      if(data->set.ftp_ssl && !conn->ssl[FIRSTSOCKET].use) {
        /* We don't have a SSL/TLS connection yet, but SSL is requested. Switch
           to TLS connection now */
        result = Curl_pp_sendf(&pop3c->pp, "STARTTLS", NULL);
        result = Curl_pp_sendf(&pop3c->pp, "STLS");
        state(conn, POP3_STARTTLS);
      }
      else