summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-11-16 16:32:04 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2015-11-19 13:49:24 +0100
commit41b3be9b042e65df0ff59ee84ce5baa53985d658 (patch)
tree987dd1ee0a50cc545a17e2e60593a6f9512109e2
parent4ceb994818846f42042fc229df104295c0087a07 (diff)
downloadgnutls-41b3be9b042e65df0ff59ee84ce5baa53985d658.tar.gz
documented GNUTLS_SKIP_GLOBAL_INIT macro
-rw-r--r--doc/cha-gtls-app.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/cha-gtls-app.texi b/doc/cha-gtls-app.texi
index e31bcd2c0f..ce48be7c4f 100644
--- a/doc/cha-gtls-app.texi
+++ b/doc/cha-gtls-app.texi
@@ -290,7 +290,10 @@ library.
@node Initialization
@subsection Initialization
-The GnuTLS library is initialized on load; prior to 3.3.0 was initialized by calling @funcref{gnutls_global_init}.
+The GnuTLS library is initialized on load; prior to 3.3.0 was initialized by calling @funcref{gnutls_global_init}@footnote{
+The original behavior of requiring explicit initialization can obtained by setting the
+GNUTLS_NO_EXPLICIT_INIT environment variable to 1, or by using the macro GNUTLS_SKIP_GLOBAL_INIT
+in a global section of your program.}.
The initialization typically enables CPU-specific acceleration, performs any required
precalculations needed, opens any required system devices (e.g., /dev/urandom on Linux)
and initializes subsystems that could be used later.