From 549c1a2564b56f2bb38f1203d59c747ea15817f3 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Thu, 23 Jul 2015 13:09:35 +0200 Subject: resolved: rr - SSHFP contains the fingerprint, not the key Rename the field to make this clearer. --- src/resolve/resolved-dns-rr.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/resolve/resolved-dns-rr.h') diff --git a/src/resolve/resolved-dns-rr.h b/src/resolve/resolved-dns-rr.h index dc51126f97..0f40f3ceef 100644 --- a/src/resolve/resolved-dns-rr.h +++ b/src/resolve/resolved-dns-rr.h @@ -117,11 +117,12 @@ struct DnsResourceRecord { size_t digest_size; } ds; + /* https://tools.ietf.org/html/rfc4255#section-3.1 */ struct { uint8_t algorithm; uint8_t fptype; - void *key; - size_t key_size; + void *fingerprint; + size_t fingerprint_size; } sshfp; /* http://tools.ietf.org/html/rfc4034#section-2.1 */ -- cgit v1.2.3-54-g00ecf