diff --git a/src/client_backend/security.cpp b/src/client_backend/security.cpp index 6ab68b7..c6bcab7 100644 --- a/src/client_backend/security.cpp +++ b/src/client_backend/security.cpp @@ -19,6 +19,7 @@ This file contains the implementation of the security 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);