summaryrefslogtreecommitdiff
path: root/lib/x509_b64.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/x509_b64.c')
-rw-r--r--lib/x509_b64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/x509_b64.c b/lib/x509_b64.c
index 76924416b7..218f98a3ce 100644
--- a/lib/x509_b64.c
+++ b/lib/x509_b64.c
@@ -313,7 +313,8 @@ _gnutls_base64_decode(const uint8_t * data, size_t data_size,
/* Searches the given string for ONE PEM encoded certificate, and
* stores it in the result.
*
- * The result_size is the return value
+ * The result_size (always non-zero) is the return value,
+ * or a negative error code.
*/
#define ENDSTR "-----"
int