Skip to content

Commit

Permalink
Fuzzing: Discard more logging output from QSslCertificate
Browse files Browse the repository at this point in the history
When linked to OpenSSL, qt.tlsbackend.ossl will log.

Change-Id: I6f0e3c3e6af73b29cff93b8efe39933e5b36d493
Reviewed-by: Mårten Nordheim <[email protected]>
  • Loading branch information
rlohning committed Aug 30, 2021
1 parent 6e2a531 commit d54d91c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d54d91c

Please sign in to comment.