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

Diff for /src/usr.bin/ssh/Attic/sshconnect1.c between version 1.34 and 1.35

version 1.34, 2001/06/23 02:34:32 version 1.35, 2001/06/23 15:12:21
Line 55 
Line 55 
  * Checks if the user has an authentication agent, and if so, tries to   * Checks if the user has an authentication agent, and if so, tries to
  * authenticate using the agent.   * authenticate using the agent.
  */   */
 int  static int
 try_agent_authentication(void)  try_agent_authentication(void)
 {  {
         int type;          int type;
Line 155 
Line 155 
  * Computes the proper response to a RSA challenge, and sends the response to   * Computes the proper response to a RSA challenge, and sends the response to
  * the server.   * the server.
  */   */
 void  static void
 respond_to_rsa_challenge(BIGNUM * challenge, RSA * prv)  respond_to_rsa_challenge(BIGNUM * challenge, RSA * prv)
 {  {
         u_char buf[32], response[16];          u_char buf[32], response[16];
Line 200 
Line 200 
  * Checks if the user has authentication file, and if so, tries to authenticate   * Checks if the user has authentication file, and if so, tries to authenticate
  * the user using it.   * the user using it.
  */   */
 int  static int
 try_rsa_authentication(const char *authfile)  try_rsa_authentication(const char *authfile)
 {  {
         BIGNUM *challenge;          BIGNUM *challenge;
Line 321 
Line 321 
  * Tries to authenticate the user using combined rhosts or /etc/hosts.equiv   * Tries to authenticate the user using combined rhosts or /etc/hosts.equiv
  * authentication and RSA host authentication.   * authentication and RSA host authentication.
  */   */
 int  static int
 try_rhosts_rsa_authentication(const char *local_user, Key * host_key)  try_rhosts_rsa_authentication(const char *local_user, Key * host_key)
 {  {
         int type;          int type;
Line 379 
Line 379 
 }  }
   
 #ifdef KRB4  #ifdef KRB4
 int  static int
 try_kerberos_authentication(void)  try_kerberos_authentication(void)
 {  {
         KTEXT_ST auth;          /* Kerberos data */          KTEXT_ST auth;          /* Kerberos data */
Line 496 
Line 496 
 #endif /* KRB4 */  #endif /* KRB4 */
   
 #ifdef AFS  #ifdef AFS
 int  static int
 send_kerberos_tgt(void)  send_kerberos_tgt(void)
 {  {
         CREDENTIALS *creds;          CREDENTIALS *creds;
Line 541 
Line 541 
         return 1;          return 1;
 }  }
   
 void  static void
 send_afs_tokens(void)  send_afs_tokens(void)
 {  {
         CREDENTIALS creds;          CREDENTIALS creds;
Line 615 
Line 615 
  * Tries to authenticate with any string-based challenge/response system.   * Tries to authenticate with any string-based challenge/response system.
  * Note that the client code is not tied to s/key or TIS.   * Note that the client code is not tied to s/key or TIS.
  */   */
 int  static int
 try_challenge_response_authentication(void)  try_challenge_response_authentication(void)
 {  {
         int type, i;          int type, i;
Line 677 
Line 677 
 /*  /*
  * Tries to authenticate with plain passwd authentication.   * Tries to authenticate with plain passwd authentication.
  */   */
 int  static int
 try_password_authentication(char *prompt)  try_password_authentication(char *prompt)
 {  {
         int type, i, payload_len;          int type, i, payload_len;

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