removed unread private field mSecure
This commit is contained in:
parent
2f918c2307
commit
d0c08fb705
1 changed files with 0 additions and 3 deletions
|
@ -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 a new issue