summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-rr.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-07-23 13:09:35 +0200
committerTom Gundersen <teg@jklm.no>2015-07-23 18:01:50 +0200
commit549c1a2564b56f2bb38f1203d59c747ea15817f3 (patch)
tree76efec1ad77f4b78342272c666b2941f142b1eda /src/resolve/resolved-dns-rr.h
parentf1d178cce1ada81346fb864c8f95aa2163b37a56 (diff)
resolved: rr - SSHFP contains the fingerprint, not the key
Rename the field to make this clearer.
Diffstat (limited to 'src/resolve/resolved-dns-rr.h')
-rw-r--r--src/resolve/resolved-dns-rr.h5
1 files changed, 3 insertions, 2 deletions
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 */