SSL certificate printing: increase max certificate size
apparently there are really big certificates around, so 4k might not always be enough. Change-Id: I84df82d117469a14b4c6db81e0ceecc1a8ba47b3 Reviewed-on: http://codereview.qt.nokia.com/554 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
This commit is contained in:
parent
6ebb60158d
commit
0da3d7d5d3
@ -692,8 +692,8 @@ QByteArray QSslCertificatePrivate::text_from_X509(X509 *x509)
|
||||
|
||||
q_X509_print(bio, x509);
|
||||
|
||||
QVarLengthArray<char, 4096> data;
|
||||
int count = q_BIO_read(bio, data.data(), 4096);
|
||||
QVarLengthArray<char, 16384> data;
|
||||
int count = q_BIO_read(bio, data.data(), 16384);
|
||||
if ( count > 0 ) {
|
||||
result = QByteArray( data.data(), count );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user