diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2016-05-13 16:37:47 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2016-05-13 14:53:47 +0000 |
commit | 550cf262a8dfe97db2acb5034ffc966cefdd50c0 (patch) | |
tree | 0ab9d1330dce10da68d39800d1b1655aaa77092a /src/webenginewidgets/api | |
parent | aa85bb793f42116f451b36b87aa975272fdc0ad7 (diff) |
Add missing new certificate error type
Adds the new certificate error CertificateValidityTooLong and adds
asserts to ensure this list is kept up to date in future Chromium
updates.
Change-Id: I6066296c0a09cabcca446f1d0b3e3d458b3f158e
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src/webenginewidgets/api')
-rw-r--r-- | src/webenginewidgets/api/qwebenginecertificateerror.cpp | 1 | ||||
-rw-r--r-- | src/webenginewidgets/api/qwebenginecertificateerror.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/webenginewidgets/api/qwebenginecertificateerror.cpp b/src/webenginewidgets/api/qwebenginecertificateerror.cpp index 7d0c79de1..ebe3cdbec 100644 --- a/src/webenginewidgets/api/qwebenginecertificateerror.cpp +++ b/src/webenginewidgets/api/qwebenginecertificateerror.cpp @@ -99,6 +99,7 @@ QWebEngineCertificateError::~QWebEngineCertificateError() \value CertificateNonUniqueName The host name specified in the certificate is not unique. \value CertificateWeakKey The certificate contains a weak key. \value CertificateNameConstraintViolation The certificate claimed DNS names that are in violation of name constraints. + \value CertificateValidityTooLong The certificate has a validity period that is too long. (Added in Qt 5.7) */ /*! diff --git a/src/webenginewidgets/api/qwebenginecertificateerror.h b/src/webenginewidgets/api/qwebenginecertificateerror.h index 34c95d010..7cb6341bc 100644 --- a/src/webenginewidgets/api/qwebenginecertificateerror.h +++ b/src/webenginewidgets/api/qwebenginecertificateerror.h @@ -69,6 +69,7 @@ public: CertificateNonUniqueName = -210, CertificateWeakKey = -211, CertificateNameConstraintViolation = -212, + CertificateValidityTooLong = -213, }; Error error() const; |