comparison cli-authpubkey.c @ 669:a8367733e8cd

Slight formatting change for ENABLE_CLI_AGENTFWD if statement
author Matt Johnston <matt@ucc.asn.au>
date Mon, 09 Apr 2012 21:29:41 +0800
parents 405418f7dc5e
children f336d232fc63
comparison
equal deleted inserted replaced
668:405418f7dc5e 669:a8367733e8cd
132 buf_setpos(sigblob, 0); 132 buf_setpos(sigblob, 0);
133 buf_putstring(buf, buf_getptr(sigblob, sigblob->len), 133 buf_putstring(buf, buf_getptr(sigblob, sigblob->len),
134 sigblob->len); 134 sigblob->len);
135 135
136 buf_free(sigblob); 136 buf_free(sigblob);
137 } else { 137 } else
138 #endif 138 #endif /* ENABLE_CLI_AGENTFWD */
139 {
139 buf_put_sign(buf, key, type, data, len); 140 buf_put_sign(buf, key, type, data, len);
140 #ifdef ENABLE_CLI_AGENTFWD 141 }
141 }
142 #endif
143
144 } 142 }
145 143
146 /* TODO: make it take an agent reference to use as well */ 144 /* TODO: make it take an agent reference to use as well */
147 static void send_msg_userauth_pubkey(sign_key *key, int type, int realsign) { 145 static void send_msg_userauth_pubkey(sign_key *key, int type, int realsign) {
148 146