diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-01-20 20:06:32 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-01-21 13:14:22 (GMT) |
commit | c86ab3fcedd3bcfa195d42d45fb732cb8315319d (patch) | |
tree | a38b1498211288ef300c7ea04050c440fc960434 /tests/auto/networkselftest | |
parent | 0a9e29a58bd501af2e52f868386b27b29ebb1a72 (diff) | |
download | Qt-c86ab3fcedd3bcfa195d42d45fb732cb8315319d.zip Qt-c86ab3fcedd3bcfa195d42d45fb732cb8315319d.tar.gz Qt-c86ab3fcedd3bcfa195d42d45fb732cb8315319d.tar.bz2 |
SSL Certificate: don't crash when the END CERTIFICATE line ends without CRLF
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
Diffstat (limited to 'tests/auto/networkselftest')
0 files changed, 0 insertions, 0 deletions