summaryrefslogtreecommitdiff
path: root/lib/gnutls_global.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-06-02 19:25:39 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-06-02 19:31:23 +0200
commit0cd5745d2f05313e7ab5a9284eb4c0ee41f9f598 (patch)
tree15e82a34efa8312ec26c82cf90c73a8a9c2a14b2 /lib/gnutls_global.c
parent02eb70d6d96f624ed6cc55dfa62734495dffbb44 (diff)
downloadgnutls-0cd5745d2f05313e7ab5a9284eb4c0ee41f9f598.tar.gz
doc update
Diffstat (limited to 'lib/gnutls_global.c')
-rw-r--r--lib/gnutls_global.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/gnutls_global.c b/lib/gnutls_global.c
index ed9e46f81d..125a22bf6c 100644
--- a/lib/gnutls_global.c
+++ b/lib/gnutls_global.c
@@ -171,13 +171,12 @@ static int _gnutls_init = 0;
/**
* gnutls_global_init:
*
- * This function initializes the global data to defaults.
- * In order to free resources you may call gnutls_global_deinit()
+ * This function performs any required precalculations, detects
+ * the supported CPU capabilities and initializes the underlying
+ * cryptographic backend. In order to free any resources
+ * taken by this call you should gnutls_global_deinit()
* when gnutls usage is no longer needed.
*
- * Note that this function will also initialize the underlying crypto
- * backend, if it has not been initialized before.
- *
* This function increments a global counter, so that
* gnutls_global_deinit() only releases resources when it has been
* called as many times as gnutls_global_init(). This is useful when