summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsslcertificate/more-certificates
Commit message (Collapse)AuthorAgeFilesLines
* QSslCertificate: support expiration dates > 2049Peter Hartmann2010-08-111-0/+15
| | | | | | | | | X509 has two time formats: UTC, where the year is in two-digit format, and generalized time with four-digit years. This patch allows dates specified generalized time. Reviewed-by: Thiago Macieira Task-number: QTBUG-12489
* QSslCertificate: support large serial numbersPeter Hartmann2010-06-021-0/+14
| | | | | | | | | | We were calling an OpenSSL function that returned a long for the serial number; sometimes serial numbers are too big to fit into a long (up to 20 octets). In that case, do not convert the serial number to decimal, but just output the hexadecimal value. Reviewed-by: Zeno Albisser Task-number: QTBUG-9973
* SSL Certificate: don't crash when the END CERTIFICATE line ends without CRLFThiago Macieira2010-01-213-0/+15
| | | | | | | | | | | If the file/data ends in the END CERTIFICATE line without a newline, the certificate is still valid. If it's followed by anything other than a newline, then it's no longer valid. Also add another test for the BEGIN CERTIFICATE ending without newline, to ensure we don't crash there either. Reviewed-By: Peter Hartmann
* Fix parsing of Subject Alternate Names in Qt.Thiago Macieira2009-08-281-0/+83
| | | | | | | | Simple misuse of QLatin1String. Use QString::fromLatin1 instead and avoid the QByteArray temporary. Reviewed-by: Andreas Aardal Hanssen Tracking: CVE-2009-2700
* Autotest: ensure we don't mishandle SSL certificates with NULsThiago Macieira2009-08-071-0/+81
| | | | | | This is a vulnerability in some implementations. Qt isn't affected because... well, we never implemented the decoding of escape sequences :-)
* Long live Qt 4.5!Lars Knoll2009-03-231-0/+13