summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-11-16 16:32:04 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2015-11-16 17:26:45 +0100
commitfca81dbe35cc1a29d6a962759b2a1d40212f8199 (patch)
tree13e53343f04aa047e8659936f2405ee9d679738b /doc
parentc75fbe4d97c17d2e0ca48bcd72eb5551dbf7a6f4 (diff)
downloadgnutls-fca81dbe35cc1a29d6a962759b2a1d40212f8199.tar.gz
documented GNUTLS_SKIP_GLOBAL_INIT macro
Diffstat (limited to 'doc')
-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 bae2612bbc..8a9f626c34 100644
--- a/doc/cha-gtls-app.texi
+++ b/doc/cha-gtls-app.texi
@@ -329,7 +329,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}@footnote{The original behavior of requiring explicit initialization can obtained by setting the GNUTLS_NO_EXPLICIT_INIT environment variable to 1.}.
+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.