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

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

version 1.9, 1999/10/03 22:01:39 version 1.10, 1999/10/06 20:07:42
Line 100 
Line 100 
   oUser, oHost, oEscapeChar, oRhostsRSAAuthentication, oProxyCommand,    oUser, oHost, oEscapeChar, oRhostsRSAAuthentication, oProxyCommand,
   oGlobalKnownHostsFile, oUserKnownHostsFile, oConnectionAttempts,    oGlobalKnownHostsFile, oUserKnownHostsFile, oConnectionAttempts,
   oBatchMode, oCheckHostIP, oStrictHostKeyChecking, oCompression,    oBatchMode, oCheckHostIP, oStrictHostKeyChecking, oCompression,
   oCompressionLevel, oKeepAlives, oTISAuthentication    oCompressionLevel, oKeepAlives, oNumberOfPasswordPrompts, oTISAuthentication
 } OpCodes;  } OpCodes;
   
 /* Textual representations of the tokens. */  /* Textual representations of the tokens. */
Line 146 
Line 146 
   { "compression", oCompression },    { "compression", oCompression },
   { "compressionlevel", oCompressionLevel },    { "compressionlevel", oCompressionLevel },
   { "keepalive", oKeepAlives },    { "keepalive", oKeepAlives },
     { "numberofpasswordprompts", oNumberOfPasswordPrompts },
   { "tisauthentication", oTISAuthentication },    { "tisauthentication", oTISAuthentication },
   { NULL, 0 }    { NULL, 0 }
 };  };
Line 336 
Line 337 
       intptr = &options->keepalives;        intptr = &options->keepalives;
       goto parse_flag;        goto parse_flag;
   
       case oNumberOfPasswordPrompts:
         intptr = &options->number_of_password_prompts;
         goto parse_int;
   
     case oTISAuthentication:      case oTISAuthentication:
       cp = strtok(NULL, WHITESPACE);        cp = strtok(NULL, WHITESPACE);
       if (cp != 0 && (strcmp(cp, "yes") == 0 || strcmp(cp, "true") == 0))        if (cp != 0 && (strcmp(cp, "yes") == 0 || strcmp(cp, "true") == 0))
Line 584 
Line 589 
   options->compression_level = -1;    options->compression_level = -1;
   options->port = -1;    options->port = -1;
   options->connection_attempts = -1;    options->connection_attempts = -1;
     options->number_of_password_prompts = -1;
   options->cipher = -1;    options->cipher = -1;
   options->num_identity_files = 0;    options->num_identity_files = 0;
   options->hostname = NULL;    options->hostname = NULL;
Line 645 
Line 651 
     options->port = 0; /* Filled in ssh_connect. */      options->port = 0; /* Filled in ssh_connect. */
   if (options->connection_attempts == -1)    if (options->connection_attempts == -1)
     options->connection_attempts = 4;      options->connection_attempts = 4;
     if (options->number_of_password_prompts == -1)
       options->number_of_password_prompts = 3;
   if (options->cipher == -1)    if (options->cipher == -1)
     options->cipher = SSH_CIPHER_NOT_SET; /* Selected in ssh_login(). */      options->cipher = SSH_CIPHER_NOT_SET; /* Selected in ssh_login(). */
   if (options->num_identity_files == 0)    if (options->num_identity_files == 0)

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