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

Diff for /src/usr.bin/ssh/ssh.h between version 1.33 and 1.34

version 1.33, 2000/02/01 22:32:53 version 1.34, 2000/03/23 22:15:33
Line 313 
Line 313 
  * its host key.  Returns true if authentication succeeds.   * its host key.  Returns true if authentication succeeds.
  */   */
 int  int
 auth_rhosts_rsa(struct passwd * pw, const char *client_user,  auth_rhosts_rsa(struct passwd * pw, const char *client_user, RSA* client_host_key);
     BIGNUM * client_host_key_e, BIGNUM * client_host_key_n);  
   
 /*  /*
  * Tries to authenticate the user using password.  Returns true if   * Tries to authenticate the user using password.  Returns true if
Line 363 
Line 362 
   
   
 /*  /*
  * Tries to match the host name (which must be in all lowercase) against the  
  * comma-separated sequence of subpatterns (each possibly preceded by ! to  
  * indicate negation).  Returns true if there is a positive match; zero  
  * otherwise.  
  */  
 int     match_hostname(const char *host, const char *pattern, unsigned int len);  
   
 /*  
  * Checks whether the given host is already in the list of our known hosts.  
  * Returns HOST_OK if the host is known and has the specified key, HOST_NEW  
  * if the host is not known, and HOST_CHANGED if the host is known but used  
  * to have a different host key.  The host must be in all lowercase.  
  */  
 typedef enum {  
         HOST_OK, HOST_NEW, HOST_CHANGED  
 }       HostStatus;  
 HostStatus  
 check_host_in_hostfile(const char *filename, const char *host,  
     BIGNUM * e, BIGNUM * n, BIGNUM * ke, BIGNUM * kn);  
   
 /*  
  * Appends an entry to the host file.  Returns false if the entry could not  
  * be appended.  
  */  
 int  
 add_host_to_hostfile(const char *filename, const char *host,  
     BIGNUM * e, BIGNUM * n);  
   
 /*  
  * Performs the RSA authentication challenge-response dialog with the client,   * Performs the RSA authentication challenge-response dialog with the client,
  * and returns true (non-zero) if the client gave the correct answer to our   * and returns true (non-zero) if the client gave the correct answer to our
  * challenge; returns zero if the client gives a wrong answer.   * challenge; returns zero if the client gives a wrong answer.
  */   */
 int     auth_rsa_challenge_dialog(BIGNUM * e, BIGNUM * n);  int     auth_rsa_challenge_dialog(RSA *pk);
   
 /*  /*
  * Reads a passphrase from /dev/tty with echo turned off.  Returns the   * Reads a passphrase from /dev/tty with echo turned off.  Returns the

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