summaryrefslogtreecommitdiff
path: root/lib/global.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-04-01 10:46:12 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-04-01 11:03:30 +0200
commit006b89d4464ae1bb6d545ea5716998654124df45 (patch)
tree365b297d9caf9132b88a08f010917ae1cf8f817b /lib/global.h
parent895159c802e9c9f63208837f629eaca51b78f6e9 (diff)
downloadgnutls-006b89d4464ae1bb6d545ea5716998654124df45.tar.gz
priorities: preload the system priorities on library loading time
This allows to rely on the system priorities even in the case of applications that chroot(). This also introduces the environment variable GNUTLS_SYSTEM_PRIORITY_FILE which can be used to override the global priority file.
Diffstat (limited to 'lib/global.h')
-rw-r--r--lib/global.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/global.h b/lib/global.h
index e1a8f2e25c..45d8dcaff8 100644
--- a/lib/global.h
+++ b/lib/global.h
@@ -45,4 +45,7 @@ extern int gnutls_crypto_init(void);
extern void gnutls_crypto_deinit(void);
extern void _gnutls_tpm_global_deinit(void);
+extern void _gnutls_load_system_priorities(void);
+extern void _gnutls_unload_system_priorities(void);
+
#endif