summaryrefslogtreecommitdiff
path: root/lib/libgnutls.map
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2022-09-20 15:08:59 +0900
committerDaiki Ueno <ueno@gnu.org>2023-01-11 16:44:09 +0900
commit1c5f0e2905a1f689a2984cc3b43a05f984aede1a (patch)
tree0f29643bdf6cae5b19ca5a7cd59e48a5c3bc2a6f /lib/libgnutls.map
parent74bdd762e569861568ccffacd0d6a46676fa79b9 (diff)
downloadgnutls-1c5f0e2905a1f689a2984cc3b43a05f984aede1a.tar.gz
trust: make filesystem path construction flexible
To handle pathnames longer than the fixed length (previously 256), this adds a set of internal API functions around the gnutls_pathbuf_st struct, which enables to safely and efficiently construct pathnames. The new API initially uses the statically allocated buffer and starts allocating memory on heap only after the limit has reached. Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'lib/libgnutls.map')
-rw-r--r--lib/libgnutls.map5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libgnutls.map b/lib/libgnutls.map
index 31cbb90489..72e425c3a0 100644
--- a/lib/libgnutls.map
+++ b/lib/libgnutls.map
@@ -1514,4 +1514,9 @@ GNUTLS_PRIVATE_3_4 {
_gnutls_crypto_register_cipher;
# needed by tests/tls12-rehandshake-cert-ticket
_gnutls_session_ticket_disable_server;
+ # needed by tests/pathbuf
+ _gnutls_pathbuf_init;
+ _gnutls_pathbuf_append;
+ _gnutls_pathbuf_truncate;
+ _gnutls_pathbuf_deinit;
} GNUTLS_3_4;