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

Diff for /src/usr.bin/ssh/session.c between version 1.83 and 1.84

version 1.83, 2001/06/07 22:25:02 version 1.84, 2001/06/11 10:18:24
Line 321 
Line 321 
                         if (!success) {                          if (!success) {
                                 xfree(s->auth_proto);                                  xfree(s->auth_proto);
                                 xfree(s->auth_data);                                  xfree(s->auth_data);
                                   s->auth_proto = NULL;
                                   s->auth_data = NULL;
                         }                          }
                         break;                          break;
   
Line 797 
Line 799 
         extern char **environ;          extern char **environ;
         struct stat st;          struct stat st;
         char *argv[10];          char *argv[10];
         int do_xauth = s->auth_proto != NULL && s->auth_data != NULL;          int do_xauth;
   
           do_xauth =
               s->display != NULL && s->auth_proto != NULL && s->auth_data != NULL;
   
         /* remove hostkey from the child's memory */          /* remove hostkey from the child's memory */
         destroy_sensitive_data();          destroy_sensitive_data();
   
Line 1353 
Line 1358 
         if (!success) {          if (!success) {
                 xfree(s->auth_proto);                  xfree(s->auth_proto);
                 xfree(s->auth_data);                  xfree(s->auth_data);
                   s->auth_proto = NULL;
                   s->auth_data = NULL;
         }          }
         return success;          return success;
 }  }

Legend:
Removed from v.1.83  
changed lines
  Added in v.1.84