Update security.cpp

This commit is contained in:
jakani24
2024-10-17 16:37:31 +02:00
parent 33c11b4878
commit d262a1dbac

View File

@@ -19,6 +19,7 @@ Functions:
std::mutex fileMutex_sec; // Mutex to synchronize file access
// Function to check if the certificate is valid. the certificate is stored in the first line of each settings file. we check them agains the one in the secrets file
int check_cert(const std::string& cert, const std::string& secrets_path) {
std::ifstream file(secrets_path);