summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-10-12 16:39:30 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-10-12 16:39:30 +0200
commit8d222b51800e1070ff91b53eb2000690d07b1c35 (patch)
treea770862b8dde721e430c0ac076c8d7d230323d26 /lib
parent556c1fc956903ec0cd6013ed9ca1b64399bbb9ba (diff)
downloadgnutls-8d222b51800e1070ff91b53eb2000690d07b1c35.tar.gz
doc updates
Diffstat (limited to 'lib')
-rw-r--r--lib/gnutls_global.c2
-rw-r--r--lib/x509/privkey_openssl.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/gnutls_global.c b/lib/gnutls_global.c
index 4c9eabf394..4efab71b50 100644
--- a/lib/gnutls_global.c
+++ b/lib/gnutls_global.c
@@ -79,7 +79,7 @@ gnutls_global_set_log_function (gnutls_log_func log_func)
* that session might be null if there is no corresponding TLS session.
*
* @gnutls_audit_log_func is of the form,
- * void (*gnutls_audit_log_func)( gnutls_session_t, int level, const char*);
+ * void (*gnutls_audit_log_func)( gnutls_session_t, const char*);
*
* Since: 3.0
**/
diff --git a/lib/x509/privkey_openssl.c b/lib/x509/privkey_openssl.c
index 1c055ad97a..8d3094cd08 100644
--- a/lib/x509/privkey_openssl.c
+++ b/lib/x509/privkey_openssl.c
@@ -117,7 +117,8 @@ static const struct pem_cipher {
* the native gnutls_x509_privkey_t format. The
* output will be stored in @key.
*
- * The @password should be in ASCII.
+ * The @password should be in ASCII. If the password is not provided
+ * or wrong then %GNUTLS_E_DECRYPTION_FAILED will be returned.
*
* If the Certificate is PEM encoded it should have a header of
* "PRIVATE KEY" and the "DEK-Info" header.