aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/dnscrypt/cert.h
diff options
context:
space:
mode:
authoranonimal <anonimal@i2pmail.org>2017-06-28 21:07:24 +0000
committeranonimal <anonimal@i2pmail.org>2018-03-18 15:52:19 +0000
commit84c5a9ba481d7a33cc0fd0ca43867b61d127d907 (patch)
treef05d3d3f107da02005b4a61f0e5074c113a7165c /external/unbound/dnscrypt/cert.h
parentMerge pull request #3416 (diff)
downloadmonero-84c5a9ba481d7a33cc0fd0ca43867b61d127d907.tar.xz
Unbound: remove unbound from in-tree source
We'll instead use a git submodule to pull from our unbound repo.
Diffstat (limited to '')
-rw-r--r--external/unbound/dnscrypt/cert.h32
1 files changed, 0 insertions, 32 deletions
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