From: Nikos Mavrogiannopoulos Date: Mon, 30 May 2016 11:34:17 +0000 (+0200) Subject: doc: updated since version of tlsfeature functionality and documented new functions X-Git-Tag: gnutls_3_5_1~78 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=cd6886c6aa5d18d4d0e47e4c8e6b90fbf114bdab;p=thirdparty%2Fgnutls.git doc: updated since version of tlsfeature functionality and documented new functions --- diff --git a/NEWS b/NEWS index 9cfaa622b4..d64c1d6330 100644 --- a/NEWS +++ b/NEWS @@ -11,13 +11,27 @@ See the end for copying conditions. ** libgnutls: The SSL 2.0 client hello support can completely be removed using a compile time option. The configure option is --disable-ssl2-support. +** libgnutls: Added support for OCSP Must staple PKIX extension. That is, + implemented the RFC7633 TLSFeature for OCSP status request extension. + Feature implemented by Tim Kosse. + ** libgnutls: The SSLKEYLOGFILE and GNUTLS_KEYLOGFILE environment variables can be used to log session keys. These session keys are compatible with the NSS Key Log Format and can be used to decrypt the session for debugging using wireshark. ** API and ABI modifications: -No changes since last version. +gnutls_x509_ext_import_tlsfeatures: Added +gnutls_x509_ext_export_tlsfeatures: Added +gnutls_x509_tlsfeatures_add: Added +gnutls_x509_tlsfeatures_init: Added +gnutls_x509_tlsfeatures_deinit: Added +gnutls_x509_tlsfeatures_get: Added +gnutls_x509_crt_get_tlsfeatures: Added +gnutls_x509_crt_set_tlsfeatures: Added +gnutls_x509_crq_get_tlsfeatures: Added +gnutls_x509_crq_set_tlsfeatures: Added +gnutls_ext_get_name: Added * Version 3.5.0 (released 2016-05-09) diff --git a/lib/x509/crq.c b/lib/x509/crq.c index a2c7e8f507..fb5987d301 100644 --- a/lib/x509/crq.c +++ b/lib/x509/crq.c @@ -1,6 +1,6 @@ /* - * Copyright (C) 2003-2012 Free Software Foundation, Inc. - * Copyright (C) 2012 Nikos Mavrogiannopoulos + * Copyright (C) 2003-2016 Free Software Foundation, Inc. + * Copyright (C) 2012-2016 Nikos Mavrogiannopoulos * * Author: Nikos Mavrogiannopoulos * @@ -2930,7 +2930,7 @@ gnutls_x509_crq_set_private_key_usage_period(gnutls_x509_crq_t crq, * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, * otherwise a negative error value. * - * Since: TBD + * Since: 3.5.1 **/ int gnutls_x509_crq_get_tlsfeatures(gnutls_x509_crq_t crq, gnutls_x509_tlsfeatures_t *features) @@ -2991,7 +2991,7 @@ int gnutls_x509_crq_get_tlsfeatures(gnutls_x509_crq_t crq, * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, * otherwise a negative error value. * - * Since: TBD + * Since: 3.5.1 **/ int gnutls_x509_crq_set_tlsfeatures(gnutls_x509_crq_t crq, gnutls_x509_tlsfeatures_t features) diff --git a/lib/x509/x509.c b/lib/x509/x509.c index 3574e77c77..7692522bde 100644 --- a/lib/x509/x509.c +++ b/lib/x509/x509.c @@ -1,5 +1,6 @@ /* - * Copyright (C) 2003-2014 Free Software Foundation, Inc. + * Copyright (C) 2003-2016 Free Software Foundation, Inc. + * * Authors: Nikos Mavrogiannopoulos, Simon Josefsson, Howard Chu * * This file is part of GnuTLS. @@ -2060,7 +2061,7 @@ gnutls_x509_crt_get_proxy(gnutls_x509_crt_t cert, * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, * otherwise a negative error value. * - * Since: TBD + * Since: 3.5.1 **/ int gnutls_x509_tlsfeatures_init(gnutls_x509_tlsfeatures_t *f) { @@ -2077,7 +2078,7 @@ int gnutls_x509_tlsfeatures_init(gnutls_x509_tlsfeatures_t *f) * * This function will deinitialize a X.509 TLS features extention structure * - * Since: TBD + * Since: 3.5.1 **/ void gnutls_x509_tlsfeatures_deinit(gnutls_x509_tlsfeatures_t f) { @@ -2097,7 +2098,7 @@ void gnutls_x509_tlsfeatures_deinit(gnutls_x509_tlsfeatures_t f) * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, * otherwise a negative error value. * - * Since: TBD + * Since: 3.5.1 **/ int gnutls_x509_tlsfeatures_get(gnutls_x509_tlsfeatures_t f, unsigned idx, unsigned int *feature) { @@ -2128,7 +2129,7 @@ int gnutls_x509_tlsfeatures_get(gnutls_x509_tlsfeatures_t f, unsigned idx, unsig * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, * otherwise a negative error value. * - * Since: TBD + * Since: 3.5.1 **/ int gnutls_x509_crt_get_tlsfeatures(gnutls_x509_crt_t crt, gnutls_x509_tlsfeatures_t *features) diff --git a/lib/x509/x509_ext.c b/lib/x509/x509_ext.c index 9cab02f705..4c4ca9ef92 100644 --- a/lib/x509/x509_ext.c +++ b/lib/x509/x509_ext.c @@ -3205,7 +3205,7 @@ static int parse_tlsfeatures(ASN1_TYPE c2, gnutls_x509_tlsfeatures_t f) * * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value. * - * Since: TBD + * Since: 3.5.1 **/ int gnutls_x509_ext_import_tlsfeatures(const gnutls_datum_t * ext, gnutls_x509_tlsfeatures_t f, @@ -3255,7 +3255,7 @@ int gnutls_x509_ext_import_tlsfeatures(const gnutls_datum_t * ext, * * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value. * - * Since: TBD + * Since: 3.5.1 **/ int gnutls_x509_ext_export_tlsfeatures(gnutls_x509_tlsfeatures_t f, gnutls_datum_t * ext) @@ -3315,7 +3315,7 @@ int gnutls_x509_ext_export_tlsfeatures(gnutls_x509_tlsfeatures_t f, * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, * otherwise a negative error value. * - * Since: TBD + * Since: 3.5.1 **/ int gnutls_x509_tlsfeatures_add(gnutls_x509_tlsfeatures_t f, unsigned int feature) { diff --git a/lib/x509/x509_write.c b/lib/x509/x509_write.c index 03989b1a8c..15815700f3 100644 --- a/lib/x509/x509_write.c +++ b/lib/x509/x509_write.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2014 Free Software Foundation, Inc. + * Copyright (C) 2003-2016 Free Software Foundation, Inc. * * Author: Nikos Mavrogiannopoulos * @@ -1893,7 +1893,7 @@ gnutls_x509_crt_set_policy(gnutls_x509_crt_t crt, * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, * otherwise a negative error value. * - * Since: TBD + * Since: 3.5.1 **/ int gnutls_x509_crt_set_tlsfeatures(gnutls_x509_crt_t crt, gnutls_x509_tlsfeatures_t features)