only try to negotiate encryption if we're talking to a real telnet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10967 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -2063,7 +2063,7 @@ my_telnet(char *user)
|
||||
* is necessary so that authentication fails, we don't spin
|
||||
* forever.
|
||||
*/
|
||||
if (wantencryption) {
|
||||
if (telnetport && wantencryption) {
|
||||
extern int auth_has_failed;
|
||||
time_t timeout = time(0) + 60;
|
||||
|
||||
|
Reference in New Issue
Block a user