[pop3 starttls] the command to send is STLS, not STARTTLS.
authorBen Noordhuis <info@bnoordhuis.nl>
Thu, 17 Mar 2011 21:35:18 +0000 (22:35 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 5 Apr 2011 11:38:31 +0000 (13:38 +0200)
lib/pop3.c

index a765717..ba13e7d 100644 (file)
@@ -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