Fuzzing: Discard more logging output from QSslCertificate
When linked to OpenSSL, qt.tlsbackend.ossl will log. Change-Id: I6f0e3c3e6af73b29cff93b8efe39933e5b36d493 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
6e2a5312db
commit
d54d91c0ad
@ -30,7 +30,7 @@
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const char *Data, size_t Size) {
|
||||
// to reduce noise and increase speed
|
||||
static char quiet[] = "QT_LOGGING_RULES=qt.network.ssl=false";
|
||||
static char quiet[] = "QT_LOGGING_RULES=qt.*=false";
|
||||
static int pe = putenv(quiet);
|
||||
Q_UNUSED(pe);
|
||||
QSslCertificate ssl(QByteArray::fromRawData(Data, Size), QSsl::Pem);
|
||||
|
Loading…
x
Reference in New Issue
Block a user