diff options
author | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2024-04-15 10:00:47 +0300 |
---|---|---|
committer | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2024-04-16 09:43:37 +0300 |
commit | 83b99967979b73a9df5a58004e7d4d9c16a4a411 (patch) | |
tree | f39aca93753c73e1568939a7327234fb52275ed1 | |
parent | 97eb1648cca2ff0d20d280263df2a70d1a6717d7 (diff) |
License: remove duplicate warning on license checksum mismatch
License::verifySignature() printed an additional warning, in case
the verification could be done successfully, but result indicated
a signature mismatch. This is a normal return, so no need to print a
warning, the caller should decide if they want to print one.
Pick-to: 3.0
Change-Id: I8aa6d33a641df169794f46ffc1cdaf25c12e2a24
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
-rw-r--r-- | src/libs/qlicenseservice/license.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libs/qlicenseservice/license.cpp b/src/libs/qlicenseservice/license.cpp index e419a5a..502151d 100644 --- a/src/libs/qlicenseservice/license.cpp +++ b/src/libs/qlicenseservice/license.cpp @@ -194,10 +194,8 @@ bool License::verifySignature() const EVP_MD_CTX_free(mdctx); #endif - if (result != 1) { - logWarn("The license signature is NOT valid for license id: %s", m_id.c_str()); + if (result != 1) // signature NOT valid return false; - } m_verified = true; return m_verified; |