Loweynet
リビジョン | f941a5f80f51b64d153f715ba9eb3db9b754511d (tree) |
---|---|
日時 | 2012-06-30 22:56:58 |
作者 | s_kawamoto <s_kawamoto@user...> |
コミッター | s_kawamoto |
Add routines for trying an AUTH SSL command.
@@ -1615,7 +1615,7 @@ static SOCKET DoConnectCrypt(int CryptMode, HOSTDATA* HostData, char *Host, char | ||
1615 | 1615 | // FTPES対応 |
1616 | 1616 | if(CryptMode == CRYPT_FTPES) |
1617 | 1617 | { |
1618 | - if(IsOpenSSLLoaded() && (Sts = command(ContSock, Reply, CancelCheckWork, "AUTH TLS")) == 234) | |
1618 | + if(IsOpenSSLLoaded() && ((Sts = command(ContSock, Reply, CancelCheckWork, "AUTH TLS")) == 234 || (Sts = command(ContSock, Reply, CancelCheckWork, "AUTH SSL")) == 234)) | |
1619 | 1619 | { |
1620 | 1620 | if(AttachSSL(ContSock, INVALID_SOCKET, CancelCheckWork)) |
1621 | 1621 | { |