summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/dns.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2015-01-28 22:36:01 +0000
committerDamien Miller <djm@cvs.openbsd.org>2015-01-28 22:36:01 +0000
commit2b012acecb227ec7ee164f472ee352f4ff23773e (patch)
tree517b1be99f1e001209b154c012945165d140cb1e /usr.bin/ssh/dns.c
parentf61b92016d6b95eb1ab639792f3f79de3513114a (diff)
update to new API (key_fingerprint => sshkey_fingerprint)
check sshkey_fingerprint return values; ok markus
Diffstat (limited to 'usr.bin/ssh/dns.c')
-rw-r--r--usr.bin/ssh/dns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/dns.c b/usr.bin/ssh/dns.c
index c0087727148..acbcc2c675c 100644
--- a/usr.bin/ssh/dns.c
+++ b/usr.bin/ssh/dns.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dns.c,v 1.33 2015/01/15 09:40:00 djm Exp $ */
+/* $OpenBSD: dns.c,v 1.34 2015/01/28 22:36:00 djm Exp $ */
/*
* Copyright (c) 2003 Wesley Griffin. All rights reserved.
@@ -291,7 +291,7 @@ verify_host_key_dns(const char *hostname, struct sockaddr *address,
free(dnskey_digest);
}
- free(hostkey_digest); /* from key_fingerprint_raw() */
+ free(hostkey_digest); /* from sshkey_fingerprint_raw() */
freerrset(fingerprints);
if (*flags & DNS_VERIFY_FOUND)
@@ -334,7 +334,7 @@ export_dns_rr(const char *hostname, struct sshkey *key, FILE *f, int generic)
for (i = 0; i < rdata_digest_len; i++)
fprintf(f, "%02x", rdata_digest[i]);
fprintf(f, "\n");
- free(rdata_digest); /* from key_fingerprint_raw() */
+ free(rdata_digest); /* from sshkey_fingerprint_raw() */
success = 1;
}
}