summaryrefslogtreecommitdiff
path: root/lib/x509/pkcs12_bag.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/x509/pkcs12_bag.c')
-rw-r--r--lib/x509/pkcs12_bag.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/x509/pkcs12_bag.c b/lib/x509/pkcs12_bag.c
index 136db73755..3c41e55198 100644
--- a/lib/x509/pkcs12_bag.c
+++ b/lib/x509/pkcs12_bag.c
@@ -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, int indx)