From acca614b0f77ec74d403c1de67d69befa4242b5b Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Tue, 30 Oct 2012 19:35:53 +0100 Subject: [PATCH] Documented gnutls_certificate_verification_status_print(). --- NEWS | 6 +++--- doc/Makefile.am | 1 + doc/cha-gtls-app.texi | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 05e3f63d0..20eb366db 100644 --- a/NEWS +++ b/NEWS @@ -23,9 +23,9 @@ gnutls_session_get_id2: Added gnutls_certificate_update_verify_flags: Added gnutls_certificate_verify_peers3: Added gnutls_certificate_verification_status_print: Added -GNUTLS_CERT_REVOCATION_DATA_TOO_OLD: Added. -GNUTLS_CERT_REVOCATION_DATA_INVALID: Added. - +GNUTLS_CERT_REVOCATION_DATA_TOO_OLD: Added +GNUTLS_CERT_REVOCATION_DATA_INVALID: Added +GNUTLS_CERT_UNEXPECTED_OWNER: Added * Version 3.1.3 (released 2012-10-12) diff --git a/doc/Makefile.am b/doc/Makefile.am index 7f4a8a691..13e4454ef 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -396,6 +396,7 @@ DISTCLEANFILES += $(ENUMS) stamp_enums stamp_functions stamp_functions: gnutls-api.texi x509-api.texi pgp-api.texi pkcs12-api.texi tpm-api.texi pkcs11-api.texi abstract-api.texi compat-api.texi dtls-api.texi crypto-api.texi ocsp-api.texi tpm-api.texi dane-api.texi -mkdir functions + -rm -f functions/*.short for i in $^; do \ $(srcdir)/scripts/split-texi.pl functions < $$i; \ done diff --git a/doc/cha-gtls-app.texi b/doc/cha-gtls-app.texi index 56f387046..c853398bf 100644 --- a/doc/cha-gtls-app.texi +++ b/doc/cha-gtls-app.texi @@ -499,7 +499,8 @@ the following functions, applicable to X.509 and OpenPGP certificates. The peer's certificate is not automatically verified and one must call @funcref{gnutls_certificate_verify_peers3} after a successful handshake to verify the certificate's signature and the owner -of the certificate. +of the certificate. The verification status returned can be printed using +@funcref{gnutls_certificate_verification_status_print}. Alternatively the verification can occur during the handshake by using @funcref{gnutls_certificate_set_verify_function}. -- 2.11.4.GIT