summaryrefslogtreecommitdiff
path: root/libdane
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-04-26 13:00:46 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-04-26 13:03:31 +0200
commit8bc0caafd6a73fa56dbcdba9d8a11155fe1a975d (patch)
tree2d15c0622efd56c88f871fd120b2b5abea54453d /libdane
parent7cc4a5e189d48f4566d330ade6437931ab3987fe (diff)
downloadgnutls-8bc0caafd6a73fa56dbcdba9d8a11155fe1a975d.tar.gz
doc: added clarifications on documentation for dane_state_t
Diffstat (limited to 'libdane')
-rw-r--r--libdane/dane.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libdane/dane.c b/libdane/dane.c
index 4223350497..dd5378ef41 100644
--- a/libdane/dane.c
+++ b/libdane/dane.c
@@ -223,7 +223,9 @@ dane_query_to_raw_tlsa(dane_query_t q, unsigned int *data_entries,
* @s: The structure to be initialized
* @flags: flags from the %dane_state_flags enumeration
*
- * This function will initialize a DANE query structure.
+ * This function will initialize the backend resolver. It is
+ * intended to be used in scenarios where multiple resolvings
+ * occur, to optimize against multiple re-initializations.
*
* Returns: On success, %DANE_E_SUCCESS (0) is returned, otherwise a
* negative error value.
@@ -303,7 +305,7 @@ void dane_state_deinit(dane_state_t s)
* @file: The file holding the DLV keys.
*
* This function will set a file with trusted keys
- * for DLV (DNSSEC Lookaside Validation).
+ * for DLV (DNSSEC Lookaside Validation).
*
**/
int dane_state_set_dlv_file(dane_state_t s, const char *file)