[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.4 and 1.5

version 1.4, 2003/05/14 23:29:22 version 1.5, 2003/05/15 02:27:15
Line 183 
Line 183 
         /* Only accept validated answers */          /* Only accept validated answers */
         if (!fingerprints->rri_flags & RRSET_VALIDATED) {          if (!fingerprints->rri_flags & RRSET_VALIDATED) {
                 error("Ignored unvalidated fingerprint from DNS.");                  error("Ignored unvalidated fingerprint from DNS.");
                   freerrset(fingerprints);
                 return DNS_VERIFY_ERROR;                  return DNS_VERIFY_ERROR;
         }          }
 #endif  #endif
Line 193 
Line 194 
         if (!dns_read_key(&hostkey_algorithm, &hostkey_digest_type,          if (!dns_read_key(&hostkey_algorithm, &hostkey_digest_type,
             &hostkey_digest, &hostkey_digest_len, hostkey)) {              &hostkey_digest, &hostkey_digest_len, hostkey)) {
                 error("Error calculating host key fingerprint.");                  error("Error calculating host key fingerprint.");
                   freerrset(fingerprints);
                 return DNS_VERIFY_ERROR;                  return DNS_VERIFY_ERROR;
         }          }
   

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5