From: Ben Noordhuis Date: Thu, 17 Mar 2011 21:35:18 +0000 (+0100) Subject: [pop3 starttls] the command to send is STLS, not STARTTLS. X-Git-Tag: curl-7_21_5~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7837bfd03c117aa8d4f0a1c5018e2d08119c4af;p=curl [pop3 starttls] the command to send is STLS, not STARTTLS. --- diff --git a/lib/pop3.c b/lib/pop3.c index a7657171c..ba13e7d6b 100644 --- a/lib/pop3.c +++ b/lib/pop3.c @@ -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