From: Nikos Mavrogiannopoulos Date: Fri, 12 Oct 2012 14:39:30 +0000 (+0200) Subject: doc updates X-Git-Tag: gnutls_3_1_3~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d222b51800e1070ff91b53eb2000690d07b1c35;p=thirdparty%2Fgnutls.git doc updates --- 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.