aboutsummaryrefslogtreecommitdiff
path: root/contrib/ldns/error.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2018-05-12 12:00:18 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2018-05-12 12:00:18 +0000
commit986ba33c7a3bc8f5ba13c7a9d6512602f6e32c61 (patch)
treedd23d78391142ca52f5e216e5338a5253cf6bec3 /contrib/ldns/error.c
parentb3092f3cf05b8e45465e5b240d7ab231ec884c5a (diff)
parentc6342fe2e90510d8d2296423f2ca92818a7b3d18 (diff)
downloadsrc-986ba33c7a3bc8f5ba13c7a9d6512602f6e32c61.tar.gz
src-986ba33c7a3bc8f5ba13c7a9d6512602f6e32c61.zip
Upgrade LDNS to 1.7.0.
I've been holding back on this because 1.7.0 requires OpenSSL 1.1.0 or newer for full DANE support. But we can't wait forever, and nothing in base uses DANE anyway, so here we go.
Notes
Notes: svn path=/head/; revision=333551
Diffstat (limited to 'contrib/ldns/error.c')
-rw-r--r--contrib/ldns/error.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/ldns/error.c b/contrib/ldns/error.c
index 82ea61a1dcc2..35ee5bdd5e24 100644
--- a/contrib/ldns/error.c
+++ b/contrib/ldns/error.c
@@ -143,6 +143,20 @@ ldns_lookup_table ldns_error_str[] = {
{ LDNS_STATUS_INVALID_RDF_TYPE,
"The rdata field was not of the expected type" },
{ LDNS_STATUS_RDATA_OVERFLOW, "Rdata size overflow" },
+ { LDNS_STATUS_SYNTAX_SUPERFLUOUS_TEXT_ERR,
+ "Syntax error, superfluous text present" },
+ { LDNS_STATUS_NSEC3_DOMAINNAME_OVERFLOW,
+ "The NSEC3 domainname length overflow" },
+#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL)
+ { LDNS_STATUS_DANE_NEED_OPENSSL_GE_1_1_FOR_DANE_TA,
+ "ldns needs to be linked with OpenSSL >= 1.1.0 to be able "
+ "to verify the DANE-TA usage type." },
+#else
+ { LDNS_STATUS_DANE_NEED_OPENSSL_GE_1_1_FOR_DANE_TA,
+ "ldns depends on the availability of the SSL_get0_dane() and "
+ "X509_STORE_CTX_set0_dane() functions within OpenSSL >= 1.1.0 "
+ "to be able to verify the DANE-TA usage type." },
+#endif
{ 0, NULL }
};