style: run clang-format
Build / build (push) Failing after 2m51s

This commit is contained in:
2026-04-11 13:08:09 -03:00
parent 3f9409b8c6
commit 27b8a0e497
3 changed files with 3 additions and 6 deletions
+1 -2
View File
@@ -305,7 +305,6 @@ void Spoofer::modifyCharacterData(json& js)
}
}
else
{
if (js.value("isEntitled", false) == false) return;
}
@@ -330,7 +329,7 @@ void Spoofer::modifyCharacterData(json& js)
for (auto& item : js["characterItems"])
{
/*
/*
set existing items to rnd number
*/
if (item.contains("itemId") && item["itemId"].is_string())
+1 -3
View File
@@ -78,7 +78,6 @@ bool CertManager::loadCA()
if (!keyBio) return false;
_caPkey = PEM_read_bio_PrivateKey(keyBio.get(), nullptr, nullptr, nullptr);
BIO_ptr certBio(BIO_new_file((path + "/cert.pem").c_str(), "r"));
if (!certBio) return false;
_caCert = PEM_read_bio_X509(certBio.get(), nullptr, nullptr, nullptr);
@@ -106,8 +105,7 @@ void CertManager::installCert(X509* cert)
HCERTSTORE rootStore = CertOpenStore(CERT_STORE_PROV_SYSTEM, 0, NULL, CERT_SYSTEM_STORE_CURRENT_USER, L"Root");
if (rootStore)
{
BOOL success =
CertAddCertificateContextToStore(rootStore, certCtx, CERT_STORE_ADD_REPLACE_EXISTING, NULL);
BOOL success = CertAddCertificateContextToStore(rootStore, certCtx, CERT_STORE_ADD_REPLACE_EXISTING, NULL);
if (success)
Log::info("CA certificate installed");
+1 -1
View File
@@ -6,4 +6,4 @@ namespace utils
{
std::string getExePath();
std::string randomizeString(size_t length);
}
} // namespace utils