diff --git a/dnscrypt/cert.h b/dnscrypt/cert.h index 50c9f8139..044f49f26 100644 --- a/dnscrypt/cert.h +++ b/dnscrypt/cert.h @@ -1,6 +1,11 @@ #ifndef UNBOUND_DNSCRYPT_CERT_H #define UNBOUND_DNSCRYPT_CERT_H +/** + * \file + * certificate type for dnscrypt for use in other header files + */ + #include #define CERT_MAGIC_CERT "DNSC" #define CERT_MAJOR_VERSION 1 diff --git a/dnscrypt/dnscrypt.c b/dnscrypt/dnscrypt.c index c05f1cb75..0a15f9f56 100644 --- a/dnscrypt/dnscrypt.c +++ b/dnscrypt/dnscrypt.c @@ -14,6 +14,11 @@ #include +/** + * \file + * dnscrypt functions for encrypting DNS packets. + */ + #define DNSCRYPT_QUERY_BOX_OFFSET \ (DNSCRYPT_MAGIC_HEADER_LEN + crypto_box_PUBLICKEYBYTES + crypto_box_HALF_NONCEBYTES) diff --git a/dnscrypt/dnscrypt.h b/dnscrypt/dnscrypt.h index 8b3012dce..dac611b05 100644 --- a/dnscrypt/dnscrypt.h +++ b/dnscrypt/dnscrypt.h @@ -1,6 +1,11 @@ #ifndef UNBOUND_DNSCRYPT_H #define UNBOUND_DNSCRYPT_H +/** + * \file + * dnscrypt functions for encrypting DNS packets. + */ + #include "dnscrypt/dnscrypt_config.h" #ifdef USE_DNSCRYPT diff --git a/doc/Changelog b/doc/Changelog index 895a1ff92..3cf0f4197 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +21 March 2017: Wouter + - Fix doxygen for dnscrypt files. + 20 March 2017: Wouter - #1217. DNSCrypt support, with --enable-dnscrypt, libsodium and then enabled in the config file from Manu Bretelle.