comparison cli-authpubkey.c @ 1032:0da8ba489c23 fastopen

Move generic network routines to netio.c
author Matt Johnston <matt@ucc.asn.au>
date Fri, 20 Feb 2015 23:16:38 +0800
parents a78a38e402d1
children c45d65392c1a
comparison
equal deleted inserted replaced
1031:64c0aa01e2b6 1032:0da8ba489c23
56 void recv_msg_userauth_pk_ok() { 56 void recv_msg_userauth_pk_ok() {
57 m_list_elem *iter; 57 m_list_elem *iter;
58 buffer* keybuf = NULL; 58 buffer* keybuf = NULL;
59 char* algotype = NULL; 59 char* algotype = NULL;
60 unsigned int algolen; 60 unsigned int algolen;
61 int keytype; 61 enum signkey_type keytype;
62 unsigned int remotelen; 62 unsigned int remotelen;
63 63
64 TRACE(("enter recv_msg_userauth_pk_ok")) 64 TRACE(("enter recv_msg_userauth_pk_ok"))
65 65
66 algotype = buf_getstring(ses.payload, &algolen); 66 algotype = buf_getstring(ses.payload, &algolen);