Fix POP3 STLS command

The server response needed to be retrieved.

Thanks to Paul Durrant:
https://groups.google.com/d/msg/k-9-mail/0XHNNMR1TQ4/yExsr7nvJQwJ
This commit is contained in:
Joe Steele 2013-12-17 13:44:25 -05:00
parent 0de72c31b4
commit 03925fb409
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ public class Pop3Store extends Store {
mCapabilities = getCapabilities();
if (mCapabilities.stls) {
writeLine(STLS_COMMAND);
executeSimpleCommand(STLS_COMMAND);
SSLContext sslContext = SSLContext.getInstance("TLS");
boolean secure = mConnectionSecurity == CONNECTION_SECURITY_TLS_REQUIRED;