summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-05-09 19:10:16 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-05-09 19:12:48 +0200
commit56ff974c4b54472fced21d090d3a865666e8fc5b (patch)
tree7202e6899f3948a610ba44bccc64298910a1242f
parentbcddb921c6f389c1ba588a512f0b6d5ddfdc7b4f (diff)
downloadgnutls-56ff974c4b54472fced21d090d3a865666e8fc5b.tar.gz
doc update in gnutls_pkcs11_init()
-rw-r--r--lib/pkcs11.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/pkcs11.c b/lib/pkcs11.c
index 81c043b1e0..24a17cbaa5 100644
--- a/lib/pkcs11.c
+++ b/lib/pkcs11.c
@@ -355,7 +355,7 @@ static int init = 0;
/**
* gnutls_pkcs11_init:
- * @flags: GNUTLS_PKCS11_FLAG_MANUAL or GNUTLS_PKCS11_FLAG_AUTO
+ * @flags: %GNUTLS_PKCS11_FLAG_MANUAL or %GNUTLS_PKCS11_FLAG_AUTO
* @configfile: either NULL or the location of a configuration file
*
* This function will initialize the PKCS 11 subsystem in gnutls. It will
@@ -364,7 +364,8 @@ static int init = 0;
* 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.
+ * by gnutls_global_init() using the %GNUTLS_PKCS11_FLAG_AUTO. If other option
+ * is required then it must be called before it.
*
* Returns: On success, %GNUTLS_E_SUCCESS is returned, otherwise a
* negative error value.