From 0557b394d8c28d4776074b87171a0583165176fb Mon Sep 17 00:00:00 2001 From: Alessandro Pasotti Date: Wed, 25 Oct 2017 13:15:39 +0200 Subject: [PATCH] Add documentation for the hostName argument --- python/core/auth/qgsauthcertutils.sip | 1 + src/core/auth/qgsauthcertutils.h | 1 + 2 files changed, 2 insertions(+) diff --git a/python/core/auth/qgsauthcertutils.sip b/python/core/auth/qgsauthcertutils.sip index 706d400f49a..7faad4d90ea 100644 --- a/python/core/auth/qgsauthcertutils.sip +++ b/python/core/auth/qgsauthcertutils.sip @@ -279,6 +279,7 @@ Get short strings describing an SSL error %Docstring validateCertChain validates the given ``certificateChain`` \param certificateChain list of certificates to be checked, with leaf first and with optional root CA last + \param hostName (optional) name of the host to be verified \param addRootCa if true the CA will be added to the trusted CAs for this validation check :return: list of QSslError, if the list is empty then the cert chain is valid :rtype: list of QSslError diff --git a/src/core/auth/qgsauthcertutils.h b/src/core/auth/qgsauthcertutils.h index 90aa7156ea5..c7972e468ef 100644 --- a/src/core/auth/qgsauthcertutils.h +++ b/src/core/auth/qgsauthcertutils.h @@ -299,6 +299,7 @@ class CORE_EXPORT QgsAuthCertUtils /** * \brief validateCertChain validates the given \a certificateChain * \param certificateChain list of certificates to be checked, with leaf first and with optional root CA last + * \param hostName (optional) name of the host to be verified * \param addRootCa if true the CA will be added to the trusted CAs for this validation check * \return list of QSslError, if the list is empty then the cert chain is valid */