summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2017-02-03 13:01:00 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2017-02-03 13:01:00 +0000
commitc6342fe2e90510d8d2296423f2ca92818a7b3d18 (patch)
tree0cc9064980c804a7bf5cc6d96c9249950c7e56a9 /error.c
parent65be028f32ed37dce84f6328d4a7172132c8c224 (diff)
Notes
Diffstat (limited to 'error.c')
-rw-r--r--error.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/error.c b/error.c
index 82ea61a1dcc2e..35ee5bdd5e24d 100644
--- a/error.c
+++ b/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 }
};