summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-05-16 14:08:27 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-05-18 23:52:02 +0200
commit11e038dfb69c3258fea776cae13376d4c8f27909 (patch)
tree117e11776b34944f1e787b5a5977c1065567b08d
parent0ec6485208488ec04fe5a7caf2564f37cb1747b1 (diff)
downloadgnutls-11e038dfb69c3258fea776cae13376d4c8f27909.tar.gz
Documented that gnutls_global_init calls gnutls_pkcs11_init.
-rw-r--r--lib/pkcs11.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pkcs11.c b/lib/pkcs11.c
index 79c0f4e93b..6bc291d9bb 100644
--- a/lib/pkcs11.c
+++ b/lib/pkcs11.c
@@ -223,6 +223,9 @@ static int init = 0;
* you to independently load PKCS 11 modules using gnutls_pkcs11_add_provider()
* if %GNUTLS_PKCS11_FLAG_MANUAL is specified.
*
+ * Normally you don't need to call this function since it is being called
+ * by gnutls_global_init(). Otherwise you must call it before it.
+ *
* Returns: On success, %GNUTLS_E_SUCCESS is returned, otherwise a
* negative error value.
**/