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

Diff for /src/usr.bin/ssh/ssh-agent.c between version 1.122 and 1.122.2.1

version 1.122, 2004/10/29 22:53:56 version 1.122.2.1, 2006/02/03 02:53:45
Line 351 
Line 351 
                 if (id != NULL) {                  if (id != NULL) {
                         /*                          /*
                          * We have this key.  Free the old key.  Since we                           * We have this key.  Free the old key.  Since we
                          * don\'t want to leave empty slots in the middle of                           * don't want to leave empty slots in the middle of
                          * the array, we actually free the key there and move                           * the array, we actually free the key there and move
                          * all the entries between the empty slot and the end                           * all the entries between the empty slot and the end
                          * of the array.                           * of the array.
Line 1000 
Line 1000 
         extern char *optarg;          extern char *optarg;
         pid_t pid;          pid_t pid;
         char pidstrbuf[1 + 3 * sizeof pid];          char pidstrbuf[1 + 3 * sizeof pid];
   
           /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */
           sanitise_stdfd();
   
         /* drop */          /* drop */
         setegid(getgid());          setegid(getgid());

Legend:
Removed from v.1.122  
changed lines
  Added in v.1.122.2.1