]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
doc update
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 31 May 2016 14:42:22 +0000 (16:42 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 31 May 2016 14:42:22 +0000 (16:42 +0200)
lib/x509/pkcs12_bag.c
lib/x509/x509_ext.c

index 2717d18f9c16e916c079c8e0875c5a090e52f1c9..8b6475c6b70542012628fe4014699290be393121 100644 (file)
@@ -91,7 +91,8 @@ void gnutls_pkcs12_bag_deinit(gnutls_pkcs12_bag_t bag)
  *
  * This function will return the bag's type.
  *
- * Returns: One of the #gnutls_pkcs12_bag_type_t enumerations.
+ * Returns: On error a negative error value (when casted as integer) or
+ *   one of the #gnutls_pkcs12_bag_type_t enumerations.
  **/
 gnutls_pkcs12_bag_type_t
 gnutls_pkcs12_bag_get_type(gnutls_pkcs12_bag_t bag, unsigned indx)
index 4c4ca9ef92ed4068ee274039ea3bdb89f8faa08b..46354c3848a96ae5e43c99874b69bba89d1ba6e7 100644 (file)
@@ -1514,9 +1514,8 @@ int gnutls_x509_ext_import_proxy(const gnutls_datum_t * ext, int *pathlen,
 
 /**
  * gnutls_x509_ext_export_proxy:
- * @pathLenConstraint: non-negative error codes indicate maximum length of path,
- *   and negative error codes indicate that the pathLenConstraints field should
- *   not be present.
+ * @pathLenConstraint: A negative value will remove the path length constraint,
+ *   while non-negative values will be set as the length of the pathLenConstraints field.
  * @policyLanguage: OID describing the language of @policy.
  * @policy: uint8_t byte array with policy language, can be %NULL
  * @sizeof_policy: size of @policy.
@@ -1524,8 +1523,7 @@ int gnutls_x509_ext_import_proxy(const gnutls_datum_t * ext, int *pathlen,
  *
  * This function will convert the parameters provided to a proxyCertInfo extension.
  *
- * The @ext data will be allocated using
- * gnutls_malloc().
+ * The @ext data will be allocated using gnutls_malloc().
  *
  * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a
  *   negative error value.