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

Diff for /src/usr.bin/ssh/ssh-keysign.c between version 1.10 and 1.10.2.2

version 1.10, 2003/03/13 11:42:19 version 1.10.2.2, 2004/03/04 18:18:16
Line 42 
Line 42 
 #include "pathnames.h"  #include "pathnames.h"
 #include "readconf.h"  #include "readconf.h"
   
 uid_t original_real_uid;        /* XXX readconf.c needs this */  /* XXX readconf.c needs these */
   uid_t original_real_uid;
   
 static int  static int
 valid_request(struct passwd *pw, char *host, Key **ret, u_char *data,  valid_request(struct passwd *pw, char *host, Key **ret, u_char *data,
     u_int datalen)      u_int datalen)
 {  {
         Buffer b;          Buffer b;
         Key *key;          Key *key = NULL;
         u_char *pkblob;          u_char *pkblob;
         u_int blen, len;          u_int blen, len;
         char *pkalg, *p;          char *pkalg, *p;
Line 119 
Line 120 
         /* end of message */          /* end of message */
         if (buffer_len(&b) != 0)          if (buffer_len(&b) != 0)
                 fail++;                  fail++;
           buffer_free(&b);
   
         debug3("valid_request: fail %d", fail);          debug3("valid_request: fail %d", fail);
   
Line 222 
Line 224 
         /* send reply */          /* send reply */
         buffer_clear(&b);          buffer_clear(&b);
         buffer_put_string(&b, signature, slen);          buffer_put_string(&b, signature, slen);
         ssh_msg_send(STDOUT_FILENO, version, &b);          if (ssh_msg_send(STDOUT_FILENO, version, &b) == -1)
                   fatal("ssh_msg_send failed");
   
         return (0);          return (0);
 }  }

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