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

Diff for /src/usr.bin/ssh/auth2-pubkey.c between version 1.34 and 1.35

version 1.34, 2013/02/14 21:35:59 version 1.35, 2013/03/07 00:19:59
Line 72 
Line 72 
 {  {
         Buffer b;          Buffer b;
         Key *key = NULL;          Key *key = NULL;
         char *pkalg;          char *pkalg, *userstyle;
         u_char *pkblob, *sig;          u_char *pkblob, *sig;
         u_int alen, blen, slen;          u_int alen, blen, slen;
         int have_sig, pktype;          int have_sig, pktype;
Line 124 
Line 124 
                 }                  }
                 /* reconstruct packet */                  /* reconstruct packet */
                 buffer_put_char(&b, SSH2_MSG_USERAUTH_REQUEST);                  buffer_put_char(&b, SSH2_MSG_USERAUTH_REQUEST);
                 buffer_put_cstring(&b, authctxt->user);                  xasprintf(&userstyle, "%s%s%s", authctxt->user,
                       authctxt->style ? ":" : "",
                       authctxt->style ? authctxt->style : "");
                   buffer_put_cstring(&b, userstyle);
                   free(userstyle);
                 buffer_put_cstring(&b,                  buffer_put_cstring(&b,
                     datafellows & SSH_BUG_PKSERVICE ?                      datafellows & SSH_BUG_PKSERVICE ?
                     "ssh-userauth" :                      "ssh-userauth" :

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35