summaryrefslogtreecommitdiff
path: root/libdane/includes
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-01 19:46:43 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-01 21:01:45 +0100
commit91dd6004d7725a35e5fed730447fbf3f2e3093ec (patch)
tree6fe8a4eb5901d8731860184af1a125e7fe29df37 /libdane/includes
parente20ce503acb15e63d4df992356b9d3501352e324 (diff)
downloadgnutls-91dd6004d7725a35e5fed730447fbf3f2e3093ec.tar.gz
Added dane_verification_status_print() and danetool can verify a DANE entry.
Diffstat (limited to 'libdane/includes')
-rw-r--r--libdane/includes/gnutls/dane.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdane/includes/gnutls/dane.h b/libdane/includes/gnutls/dane.h
index 9a08737a6a..75d2e36e6b 100644
--- a/libdane/includes/gnutls/dane.h
+++ b/libdane/includes/gnutls/dane.h
@@ -134,6 +134,9 @@ typedef enum dane_verify_status_t
DANE_VERIFY_NO_DANE_INFO = 1<<2,
} dane_verify_status_t;
+int
+dane_verification_status_print (unsigned int status,
+ gnutls_datum_t * out, unsigned int flags);
int dane_verify_crt (dane_state_t s,
const gnutls_datum_t *chain, unsigned chain_size,