From 520517e93a9f113364b2896431cf01e1d5c4e08b Mon Sep 17 00:00:00 2001 From: Andreas Metzler Date: Tue, 20 Oct 2015 19:02:25 +0200 Subject: Documentation update The new simple verification functions were backported to 3.4.6, correct "Since:" to reflect this. --- lib/auto-verify.c | 6 +++--- lib/state.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/auto-verify.c b/lib/auto-verify.c index 5dd520c4f2..4780843c00 100644 --- a/lib/auto-verify.c +++ b/lib/auto-verify.c @@ -73,7 +73,7 @@ static int auto_verify_cb(gnutls_session_t session) * The gnutls_session_set_verify_cert() function is intended to be used by TLS * clients to verify the server's certificate. * - * Since: 3.5.0 + * Since: 3.4.6 **/ void gnutls_session_set_verify_cert(gnutls_session_t session, const char *hostname, unsigned flags) @@ -110,7 +110,7 @@ void gnutls_session_set_verify_cert(gnutls_session_t session, * and once set must remain valid for the lifetime of the session. More precisely * they should be available during any subsequent handshakes. * - * Since: 3.5.0 + * Since: 3.4.6 **/ void gnutls_session_set_verify_cert2(gnutls_session_t session, gnutls_typed_vdata_st * data, @@ -139,7 +139,7 @@ void gnutls_session_set_verify_cert2(gnutls_session_t session, * * Returns: the certificate verification status. * - * Since: 3.5.0 + * Since: 3.4.6 **/ unsigned int gnutls_session_get_verify_cert_status(gnutls_session_t session) { diff --git a/lib/state.c b/lib/state.c index ab5b07f596..929b13c708 100644 --- a/lib/state.c +++ b/lib/state.c @@ -917,7 +917,7 @@ void gnutls_session_set_ptr(gnutls_session_t session, void *ptr) * The callback function should return 0 for the handshake to continue * or non-zero to terminate. * - * Since: 3.5.0 + * Since: 3.4.6 **/ void gnutls_session_set_verify_function -- cgit v1.2.1