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

Diff for /src/usr.bin/ssh/auth-options.c between version 1.40 and 1.41

version 1.40, 2006/08/03 03:34:41 version 1.41, 2008/03/26 21:28:14
Line 40 
Line 40 
 int no_agent_forwarding_flag = 0;  int no_agent_forwarding_flag = 0;
 int no_x11_forwarding_flag = 0;  int no_x11_forwarding_flag = 0;
 int no_pty_flag = 0;  int no_pty_flag = 0;
   int no_user_rc = 0;
   
 /* "command=" option. */  /* "command=" option. */
 char *forced_command = NULL;  char *forced_command = NULL;
Line 59 
Line 60 
         no_port_forwarding_flag = 0;          no_port_forwarding_flag = 0;
         no_pty_flag = 0;          no_pty_flag = 0;
         no_x11_forwarding_flag = 0;          no_x11_forwarding_flag = 0;
           no_user_rc = 0;
         while (custom_environment) {          while (custom_environment) {
                 struct envstring *ce = custom_environment;                  struct envstring *ce = custom_environment;
                 custom_environment = ce->next;                  custom_environment = ce->next;
Line 116 
Line 118 
                 if (strncasecmp(opts, cp, strlen(cp)) == 0) {                  if (strncasecmp(opts, cp, strlen(cp)) == 0) {
                         auth_debug_add("Pty allocation disabled.");                          auth_debug_add("Pty allocation disabled.");
                         no_pty_flag = 1;                          no_pty_flag = 1;
                           opts += strlen(cp);
                           goto next_option;
                   }
                   cp = "no-user-rc";
                   if (strncasecmp(opts, cp, strlen(cp)) == 0) {
                           auth_debug_add("User rc file execution disabled.");
                           no_user_rc = 1;
                         opts += strlen(cp);                          opts += strlen(cp);
                         goto next_option;                          goto next_option;
                 }                  }

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41