]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/resolve/resolved-dns-rr.h
resolved: rr - SSHFP contains the fingerprint, not the key
[thirdparty/systemd.git] / src / resolve / resolved-dns-rr.h
index dc51126f9769b5fa5e9aae99cb642a725a67d1b7..0f40f3ceef1410bd6907846a2912caa69a31b70c 100644 (file)
@@ -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 */