summaryrefslogtreecommitdiff
path: root/libdane/libdane.map
diff options
context:
space:
mode:
authorSimon Arlott <sa.me.uk>2014-07-10 22:08:30 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-07-11 17:37:05 +0200
commit62120b1872664b883a4ae59b1ff54a424bd2f297 (patch)
tree8088241b1f3cd847d7c25e7fddc196b7ef350a3e /libdane/libdane.map
parent3963518d067a64412bbe0aa9ce5fc33ae729c15f (diff)
downloadgnutls-62120b1872664b883a4ae59b1ff54a424bd2f297.tar.gz
libdane: add function dane_query_to_raw_tlsa
This function converts a dane_query_t into the parameters needed for dane_raw_tlsa() to make it easy to copy the results of the (synchronous) lookup query from one process to another. This code allocates an unnecessary extra NULL entry for dane_data_len to avoid trying to malloc 0 bytes if q->data_entries is 0 (it is possible for malloc/calloc to return NULL when requested to allocate 0 bytes). Signed-off-by: Simon Arlott
Diffstat (limited to 'libdane/libdane.map')
-rw-r--r--libdane/libdane.map1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdane/libdane.map b/libdane/libdane.map
index 3fee935ef3..fa826548ee 100644
--- a/libdane/libdane.map
+++ b/libdane/libdane.map
@@ -10,6 +10,7 @@ DANE_0_0
dane_query_status;
dane_query_entries;
dane_query_data;
+ dane_query_to_raw_tlsa;
dane_query_deinit;
dane_verify_session_crt;
dane_verify_crt;