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

Diff for /src/usr.bin/ssh/servconf.c between version 1.9 and 1.10

version 1.9, 1999/10/02 19:18:22 version 1.10, 1999/10/07 21:45:02
Line 52 
Line 52 
   options->afs_token_passing = -1;    options->afs_token_passing = -1;
 #endif  #endif
   options->password_authentication = -1;    options->password_authentication = -1;
   #ifdef SKEY
     options->skey_authentication = -1;
   #endif
   options->permit_empty_passwd = -1;    options->permit_empty_passwd = -1;
   options->num_allow_hosts = 0;    options->num_allow_hosts = 0;
   options->num_deny_hosts = 0;    options->num_deny_hosts = 0;
Line 120 
Line 123 
 #endif /* AFS */  #endif /* AFS */
   if (options->password_authentication == -1)    if (options->password_authentication == -1)
     options->password_authentication = 1;      options->password_authentication = 1;
   #ifdef SKEY
     if (options->skey_authentication == -1)
       options->skey_authentication = 1;
   #endif
   if (options->permit_empty_passwd == -1)    if (options->permit_empty_passwd == -1)
       options->permit_empty_passwd = 1;      options->permit_empty_passwd = 1;
 }  }
   
 #define WHITESPACE " \t\r\n"  #define WHITESPACE " \t\r\n"
Line 138 
Line 145 
 #ifdef AFS  #ifdef AFS
   sKerberosTgtPassing, sAFSTokenPassing,    sKerberosTgtPassing, sAFSTokenPassing,
 #endif  #endif
   #ifdef SKEY
     sSkeyAuthentication,
   #endif
   sPasswordAuthentication, sAllowHosts, sDenyHosts, sListenAddress,    sPasswordAuthentication, sAllowHosts, sDenyHosts, sListenAddress,
   sPrintMotd, sIgnoreRhosts, sX11Forwarding, sX11DisplayOffset,    sPrintMotd, sIgnoreRhosts, sX11Forwarding, sX11DisplayOffset,
   sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives    sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives
Line 172 
Line 182 
   { "afstokenpassing", sAFSTokenPassing },    { "afstokenpassing", sAFSTokenPassing },
 #endif  #endif
   { "passwordauthentication", sPasswordAuthentication },    { "passwordauthentication", sPasswordAuthentication },
   #ifdef SKEY
     { "skeyauthentication", sSkeyAuthentication },
   #endif
   { "allowhosts", sAllowHosts },    { "allowhosts", sAllowHosts },
   { "denyhosts", sDenyHosts },    { "denyhosts", sDenyHosts },
   { "listenaddress", sListenAddress },    { "listenaddress", sListenAddress },
Line 391 
Line 404 
         case sPasswordAuthentication:          case sPasswordAuthentication:
           intptr = &options->password_authentication;            intptr = &options->password_authentication;
           goto parse_flag;            goto parse_flag;
   
   #ifdef SKEY
           case sSkeyAuthentication:
             intptr = &options->skey_authentication;
             goto parse_flag;
   #endif
   
         case sPrintMotd:          case sPrintMotd:
           intptr = &options->print_motd;            intptr = &options->print_motd;

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10