comparison cli-authpubkey.c @ 68:eee77ac31ccc

cleaning up the pubkey defines
author Matt Johnston <matt@ucc.asn.au>
date Thu, 12 Aug 2004 14:56:22 +0000
parents 20563735e8b5
children e3adf4cf5465
comparison
equal deleted inserted replaced
67:86725004a0ea 68:eee77ac31ccc
4 #include "session.h" 4 #include "session.h"
5 #include "ssh.h" 5 #include "ssh.h"
6 #include "runopts.h" 6 #include "runopts.h"
7 #include "auth.h" 7 #include "auth.h"
8 8
9 #ifdef ENABLE_CLI_PUBKEY_AUTH
9 static void send_msg_userauth_pubkey(sign_key *key, int type, int realsign); 10 static void send_msg_userauth_pubkey(sign_key *key, int type, int realsign);
10 11
11 /* Called when we receive a SSH_MSG_USERAUTH_FAILURE for a pubkey request. 12 /* Called when we receive a SSH_MSG_USERAUTH_FAILURE for a pubkey request.
12 * We use it to remove the key we tried from the list */ 13 * We use it to remove the key we tried from the list */
13 void cli_pubkeyfail() { 14 void cli_pubkeyfail() {
156 } else { 157 } else {
157 TRACE(("leave cli_auth_pubkey-failure")); 158 TRACE(("leave cli_auth_pubkey-failure"));
158 return 0; 159 return 0;
159 } 160 }
160 } 161 }
162 #endif /* Pubkey auth */