]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
doc updates
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 12 Oct 2012 14:39:30 +0000 (16:39 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 12 Oct 2012 14:39:30 +0000 (16:39 +0200)
lib/gnutls_global.c
lib/x509/privkey_openssl.c

index 4c9eabf394e53627c78fd360a960269ec25fb179..4efab71b50e78b4796037908127fb032a978cd92 100644 (file)
@@ -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
  **/
index 1c055ad97ae2797786c5e6cb176b72bc0ecfb142..8d3094cd0874f4824b6abf34f2e587c32b88b836 100644 (file)
@@ -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.