]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
doc update [ci skip]
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 18 Oct 2016 13:42:52 +0000 (15:42 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 18 Oct 2016 13:43:47 +0000 (15:43 +0200)
NEWS
lib/x509/pkcs7.c
lib/x509/x509.c

diff --git a/NEWS b/NEWS
index de3a4be3023bd2c961aa8df62d516e114c316f78..5e299f22d62853813f240019e9f0fdd16d6d6d4a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,10 @@ See the end for copying conditions.
 ** libgnutls: Introduced a function group to set known DH parameters
    using groups from RFC7919.
 
+** libgnutls: Introduced time and constraints checks in the end certificate
+   in the gnutls_x509_crt_verify_data2() and gnutls_pkcs7_verify_direct()
+   functions.
+
 ** certtool: --get-dh-params will output parameters from the RFC7919
    groups.
 
index 558bef3f3acf4247aeb66337774bb76efd3fc247..b87dc7a3ca0096927b10d1fb84201cc5ddced847 100644 (file)
@@ -970,6 +970,9 @@ gnutls_pkcs7_get_embedded_data_oid(gnutls_pkcs7_t pkcs7)
  * to verify the intended purpose of the %signer -e.g., via gnutls_x509_crt_get_key_purpose_oid(),
  * or gnutls_x509_crt_check_key_purpose().
  *
+ * Note also, that since GnuTLS 3.5.6 this function introduces checks in the
+ * end certificate (@signer), including time checks and key usage checks.
+ *
  * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a
  *   negative error value. A verification error results to a
  *   %GNUTLS_E_PK_SIG_VERIFY_FAILED and the lack of encapsulated data
index 29f776b6dc4f54888e0473ad1df0015053812cb1..a9adff2f4a3849495f45f54d7de65ebc198a348b 100644 (file)
@@ -3981,6 +3981,9 @@ gnutls_x509_crt_verify_data3(gnutls_x509_crt_t crt,
  * is returned, %GNUTLS_E_EXPIRED or %GNUTLS_E_NOT_YET_ACTIVATED on expired
  * or not yet activated certificate and zero or positive code on success.
  *
+ * Note that since GnuTLS 3.5.6 this function introduces checks in the
+ * end certificate (@crt), including time checks and key usage checks.
+ *
  * Since: 3.4.0
  **/
 int