[BACK]Return to main.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / telnet

Diff for /src/usr.bin/telnet/main.c between version 1.12 and 1.13

version 1.12, 2001/11/03 00:07:53 version 1.13, 2002/03/22 13:49:28
Line 140 
Line 140 
         "libdefaults", "encrypt", NULL)) {          "libdefaults", "encrypt", NULL)) {
           encrypt_auto(1);            encrypt_auto(1);
           decrypt_auto(1);            decrypt_auto(1);
             wantencryption = 1;
           EncryptVerbose(1);            EncryptVerbose(1);
         }          }
 #endif  #endif
Line 337 
Line 338 
 #ifdef ENCRYPTION  #ifdef ENCRYPTION
                         encrypt_auto(1);                          encrypt_auto(1);
                         decrypt_auto(1);                          decrypt_auto(1);
                           wantencryption = 1;
                         EncryptVerbose(1);                          EncryptVerbose(1);
 #else  #else
                         fprintf(stderr,                          fprintf(stderr,
Line 353 
Line 355 
   
         if (autologin == -1) {          if (autologin == -1) {
 #if defined(AUTHENTICATION)  #if defined(AUTHENTICATION)
             if(check_krb4_tickets() || check_krb5_tickets())                  if(check_krb4_tickets() || check_krb5_tickets())
                 autologin = 1;                          autologin = 1;
 #endif  #endif
 #if defined(ENCRYPTION)  #if defined(ENCRYPTION)
                 encrypt_auto(1);                  encrypt_auto(1);
                 decrypt_auto(1);                  decrypt_auto(1);
 #endif  #endif
         }          }
   
         if (autologin == -1)          if (autologin == -1)
                 autologin = (rlogin == _POSIX_VDISABLE) ? 0 : 1;                  autologin = (rlogin == _POSIX_VDISABLE) ? 0 : 1;
   

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13