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

Diff for /src/usr.bin/ssh/dns.c between version 1.25 and 1.26

version 1.25, 2008/06/12 00:03:49 version 1.26, 2010/02/26 20:29:54
Line 72 
Line 72 
  */   */
 static int  static int
 dns_read_key(u_int8_t *algorithm, u_int8_t *digest_type,  dns_read_key(u_int8_t *algorithm, u_int8_t *digest_type,
     u_char **digest, u_int *digest_len, const Key *key)      u_char **digest, u_int *digest_len, Key *key)
 {  {
         int success = 0;          int success = 0;
   
Line 169 
Line 169 
  */   */
 int  int
 verify_host_key_dns(const char *hostname, struct sockaddr *address,  verify_host_key_dns(const char *hostname, struct sockaddr *address,
     const Key *hostkey, int *flags)      Key *hostkey, int *flags)
 {  {
         u_int counter;          u_int counter;
         int result;          int result;
Line 268 
Line 268 
  * Export the fingerprint of a key as a DNS resource record   * Export the fingerprint of a key as a DNS resource record
  */   */
 int  int
 export_dns_rr(const char *hostname, const Key *key, FILE *f, int generic)  export_dns_rr(const char *hostname, Key *key, FILE *f, int generic)
 {  {
         u_int8_t rdata_pubkey_algorithm = 0;          u_int8_t rdata_pubkey_algorithm = 0;
         u_int8_t rdata_digest_type = SSHFP_HASH_SHA1;          u_int8_t rdata_digest_type = SSHFP_HASH_SHA1;

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26