diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-03-18 18:50:21 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-03-18 18:50:21 +0200 |
commit | 1f6e6001ed37b48788ef071f3297b7e9d67586a5 (patch) | |
tree | 7ff391303a4b5643294bc4f91d1c493791f98879 /external/unbound/dnscrypt/cert.h | |
parent | Merge pull request #3426 (diff) | |
parent | Unbound: add git submodule for unbound (diff) | |
download | monero-1f6e6001ed37b48788ef071f3297b7e9d67586a5.tar.xz |
Merge pull request #2133
efe70a15 Unbound: add git submodule for unbound (anonimal)
84c5a9ba Unbound: remove unbound from in-tree source (anonimal)
Diffstat (limited to 'external/unbound/dnscrypt/cert.h')
m--------- | external/unbound | 0 | ||||
-rw-r--r-- | external/unbound/dnscrypt/cert.h | 32 |
2 files changed, 0 insertions, 32 deletions
diff --git a/external/unbound b/external/unbound new file mode 160000 +Subproject 193bdc4ee3fe2b0d17e547e86512528c2614483 diff --git a/external/unbound/dnscrypt/cert.h b/external/unbound/dnscrypt/cert.h deleted file mode 100644 index 044f49f26..000000000 --- a/external/unbound/dnscrypt/cert.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef UNBOUND_DNSCRYPT_CERT_H -#define UNBOUND_DNSCRYPT_CERT_H - -/** - * \file - * certificate type for dnscrypt for use in other header files - */ - -#include <sodium.h> -#define CERT_MAGIC_CERT "DNSC" -#define CERT_MAJOR_VERSION 1 -#define CERT_MINOR_VERSION 0 -#define CERT_OLD_MAGIC_HEADER "7PYqwfzt" - -#define CERT_FILE_EXPIRE_DAYS 365 - -struct SignedCert { - uint8_t magic_cert[4]; - uint8_t version_major[2]; - uint8_t version_minor[2]; - - // Signed Content - uint8_t server_publickey[crypto_box_PUBLICKEYBYTES]; - uint8_t magic_query[8]; - uint8_t serial[4]; - uint8_t ts_begin[4]; - uint8_t ts_end[4]; - uint8_t end[64]; -}; - - -#endif |