version 1.34, 2013/02/14 21:35:59 |
version 1.35, 2013/03/07 00:19:59 |
|
|
{ |
{ |
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; |
|
|
} |
} |
/* 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" : |