@ -127,9 +127,8 @@ ImapConnection.prototype.connect = function(loginCb) {
if (this._options.secure) {
var tlsOptions = {};
for (var k in this._options.secure) {
for (var k in this._options.secure)
tlsOptions[k] = this._options.secure[k];
}
tlsOptions.socket = state.conn;
if (process.version.indexOf('v0.6.') > -1)
socket = tls.connect(null, tlsOptions, onconnect);