[systemd-devel] Howto find sshfp records?

Mantas Mikulėnas grawity at gmail.com
Sun Jul 29 13:09:47 UTC 2018


On Sun, Jul 29, 2018 at 3:40 PM Stef Bon <stefbon at gmail.com> wrote:

> Hi,
>
> I cannot find a header file where DNS_TYPE_SSHFP is defined,
> only in the source tree of systemd.
> There should be a header file in /usr/include. Where can I find it?
>

systemd doesn't seem to have a public header; however, glibc's
<arpa/nameser.h> appears to have `T_SSHFP` and `ns_t_sshfp` for the same
purpose.

You can also just add the definition directly in your code. The type number
is 44, as defined by https://tools.ietf.org/html/rfc4255 (section 5).

-- 
Mantas Mikulėnas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180729/d7cd818f/attachment.html>


More information about the systemd-devel mailing list