mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
removed unread private field mSecure
This commit is contained in:
parent
2f918c2307
commit
d0c08fb705
@ -188,7 +188,6 @@ public class SmtpTransport extends Transport {
|
||||
String mPassword;
|
||||
String mAuthType;
|
||||
int mConnectionSecurity;
|
||||
boolean mSecure;
|
||||
Socket mSocket;
|
||||
PeekableInputStream mIn;
|
||||
OutputStream mOut;
|
||||
@ -245,7 +244,6 @@ public class SmtpTransport extends Transport {
|
||||
}, new SecureRandom());
|
||||
mSocket = sslContext.getSocketFactory().createSocket();
|
||||
mSocket.connect(socketAddress, SOCKET_CONNECT_TIMEOUT);
|
||||
mSecure = true;
|
||||
} else {
|
||||
mSocket = new Socket();
|
||||
mSocket.connect(socketAddress, SOCKET_CONNECT_TIMEOUT);
|
||||
@ -308,7 +306,6 @@ public class SmtpTransport extends Transport {
|
||||
mIn = new PeekableInputStream(new BufferedInputStream(mSocket.getInputStream(),
|
||||
1024));
|
||||
mOut = mSocket.getOutputStream();
|
||||
mSecure = true;
|
||||
/*
|
||||
* Now resend the EHLO. Required by RFC2487 Sec. 5.2, and more specifically,
|
||||
* Exim.
|
||||
|
Loading…
Reference in New Issue
Block a user